From 4eb7f76940f0258adca1770ddb40c82fc80f151f Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 16 Jun 2010 03:08:04 +0000 Subject: [PATCH] (PACKAGE): New variable. (tar): New target. --- Makefile.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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) -- 1.7.10.4