(install-db): Use $(TAR) instead of `tar'.
authortomo <tomo>
Sun, 14 May 2006 23:38:20 +0000 (23:38 +0000)
committertomo <tomo>
Sun, 14 May 2006 23:38:20 +0000 (23:38 +0000)
(chise-db): Likewise.
(tar-core): Likewise; call `cvs-base-clean' instead of
`cvs-core-clean'; cvs export concord and libchise.

Makefile.in

index cdd0a82..1fe039b 100644 (file)
@@ -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