From: tomo Date: Mon, 3 Nov 2003 13:41:33 +0000 (+0000) Subject: (tar): New target. X-Git-Tag: libchise-0_2_0~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=60b62ff640ffb1c155761a27d826f08d5a8441ab;p=chise%2Flibchise.git (tar): New target. --- diff --git a/Makefile.in b/Makefile.in index e1fe85d..e2cabe8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -80,3 +80,18 @@ clean: 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 +