+PACKAGE = @PACKAGE_NAME@
VERSION = @PACKAGE_VERSION@
TAR = tar
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)