From: tomo Date: Sun, 14 May 2006 23:38:20 +0000 (+0000) Subject: (install-db): Use $(TAR) instead of `tar'. X-Git-Tag: chise-base-0_23~13 X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fchise-base.git;a=commitdiff_plain;h=45126fa00b78dd6c2ae9aca90ba109243bf61508 (install-db): Use $(TAR) instead of `tar'. (chise-db): Likewise. (tar-core): Likewise; call `cvs-base-clean' instead of `cvs-core-clean'; cvs export concord and libchise. --- diff --git a/Makefile.in b/Makefile.in index cdd0a82..1fe039b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,8 +53,8 @@ install-core: install-concord install-libchise install-db install-db: -cd $(prefix)/share; mkdir chise - (cd chise-db; tar cvf - db* ) \ - | (cd $(prefix)/share/chise; tar xvf -) + (cd chise-db; $(TAR) cvf - db* ) \ + | (cd $(prefix)/share/chise; $(TAR) xvf -) config-xemacs: xemacs-chise xemacs-chise/src/config.h @@ -88,17 +88,24 @@ chise-db: -cd chise-db && mkdir db-$(VERSION) (cd `xemacs -batch -vanilla -eval \ '(princ (file-name-as-directory data-directory))'`chise-db; \ - tar cvf - * ) \ - | (cd chise-db/db-$(VERSION); tar xvf - ) + $(TAR) cvf - * ) \ + | (cd chise-db/db-$(VERSION); $(TAR) xvf - ) -cd chise-db && ln -s db-$(VERSION) db -tar-core: cvs-core-clean +tar-core: cvs-base-clean cvs commit sh -c 'cvs tag -R chise-core-`echo $(VERSION) | tr . _`; \ cd /tmp; \ cvs -d $(CVS_ROOT) export -d chise-core-$(VERSION) \ -r chise-core-`echo $(VERSION) | tr . _` \ chise-base' + cd chise-base + cvs -d $(CVS_ROOT) export -d chise-core-$(VERSION) \ + -r chise-core-`echo $(VERSION) | tr . _` \ + concord' + cvs -d $(CVS_ROOT) export -d chise-core-$(VERSION) \ + -r chise-core-`echo $(VERSION) | tr . _` \ + libchise' #cd /tmp; mkdir chise-core-$(VERSION) #rsync -av Makefile libchise chise-db \ # xemacs-chise ids @@ -106,7 +113,7 @@ tar-core: cvs-core-clean #rsync -av Makefile concord libchise chise-db \ # /tmp/chise-core-$(VERSION) rsync -av chise-db /tmp/chise-core-$(VERSION) - cd /tmp; tar cvzf chise-core-$(VERSION).tar.gz \ + cd /tmp; $(TAR) cvzf chise-core-$(VERSION).tar.gz \ chise-core-$(VERSION) get-base: concord libchise xemacs-chise tomoyo-tools ids