From: tomo Date: Wed, 16 Jun 2010 03:08:04 +0000 (+0000) Subject: (PACKAGE): New variable. X-Git-Tag: chise-fonts-installer-0_1~2 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eb7f76940f0258adca1770ddb40c82fc80f151f;p=chise%2Fchise-fonts-installer.git (PACKAGE): New variable. (tar): New target. --- diff --git a/Makefile.in b/Makefile.in index 2d78019..5d3a204 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,3 +1,4 @@ +PACKAGE = @PACKAGE_NAME@ VERSION = @PACKAGE_VERSION@ TAR = tar @@ -70,3 +71,15 @@ distclean: cd GT && make distclean -$(RM) Makefile config.status config.log chise-setup-xfonts -$(RM) -r autom4te.cache/ intlfonts-1.2.1/ intlfonts-1.2.1.tar.gz + + +tar: + cvs commit + sh -c 'cvs tag -R $(PACKAGE)-`echo $(VERSION) | tr . _`; \ + cd /tmp; \ + cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise \ + export -d $(PACKAGE)-$(VERSION) \ + -r $(PACKAGE)-`echo $(VERSION) | tr . _` \ + $(PACKAGE)' + cd /tmp; $(TAR) cvzf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) + cd /tmp; $(RM) -r $(PACKAGE)-$(VERSION)