(tar-base): New target.
authortomo <tomo>
Thu, 18 May 2006 07:27:13 +0000 (07:27 +0000)
committertomo <tomo>
Thu, 18 May 2006 07:27:13 +0000 (07:27 +0000)
Makefile.in

index 0d9fc1d..4dacc31 100644 (file)
@@ -106,16 +106,37 @@ tar-core: cvs-base-clean
        cvs -d $(CVS_ROOT) export \
                -r chise-core-`echo $(VERSION) | tr . _` \
                libchise'
-       #cd /tmp; mkdir chise-core-$(VERSION)
-       #rsync -av Makefile libchise chise-db \
-       #        xemacs-chise ids 
-       #       /tmp/chise-core-$(VERSION)
-       #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 \
                chise-core-$(VERSION)
 
+tar-base:
+       cvs commit
+       sh -c 'cvs tag -R chise-base-`echo $(VERSION) | tr . _`; \
+       cd /tmp; \
+       cvs -d $(CVS_ROOT) export -d chise-base-$(VERSION) \
+               -r chise-base-`echo $(VERSION) | tr . _` \
+               chise-base; \
+       cd chise-base-$(VERSION); \
+       cvs -d $(CVS_ROOT) export \
+               -r chise-base-`echo $(VERSION) | tr . _` \
+               concord; \
+       cvs -d $(CVS_ROOT) export \
+               -r chise-base-`echo $(VERSION) | tr . _` \
+               libchise; \
+       cvs -d $(CVS_ROOT) export \
+               -r chise-base-`echo $(VERSION) | tr . _` \
+               -d xemacs-chise xemacs; \
+       cvs -d $(CVS_ROOT) export \
+               -r chise-base-`echo $(VERSION) | tr . _` \
+               tomoyo-tools; \
+       cvs -d $(CVS_ROOT) export \
+               -r chise-base-`echo $(VERSION) | tr . _` \
+               ids'
+       rsync -av chise-db /tmp/chise-base-$(VERSION)
+       cd /tmp; $(TAR) cvzf chise-base-$(VERSION).tar.gz \
+               chise-base-$(VERSION)
+
 get-base:      concord libchise xemacs-chise tomoyo-tools ids
 
 concord: