(tar): New target.
authortomo <tomo>
Mon, 3 Nov 2003 13:41:33 +0000 (13:41 +0000)
committertomo <tomo>
Mon, 3 Nov 2003 13:41:33 +0000 (13:41 +0000)
Makefile.in

index e1fe85d..e2cabe8 100644 (file)
@@ -80,3 +80,18 @@ clean:
 
 distclean: clean
        -$(RM) Makefile config.h config.status config.log
 
 distclean: clean
        -$(RM) Makefile config.h config.status config.log
+
+
+tar:
+       cvs commit
+       sh -c 'cvs tag -R libchise-`echo $(VERSION) \
+                               | sed s/\\\\./_/ | sed s/\\\\./_/`; \
+       cd /tmp; \
+       cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise \
+               export -d libchise-$(VERSION) \
+               -r libchise-`echo $(VERSION) | tr . _` libchise'
+       cd /tmp; $(RM) libchise-$(VERSION)/ftp.in libchise-$(VERSION)/.cvsignore ; \
+               $(TAR) cvzf libchise-$(VERSION).tar.gz libchise-$(VERSION)
+       cd /tmp; $(RM) -r libchise-$(VERSION)
+       sed "s/VERSION/$(VERSION)/" < ftp.in > ftp
+