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
+