(VERSION): New variable.
(TAR): New variable.
(tar): New target.
# Makefile for LEIM
#
+PACKAGE = lemi
+VERSION = 1.14.1
+
+TAR = tar
+RM = /bin/rm -f
+
EMACS = emacs
FLAGS = -batch -q -no-site-file -l lemi-path.el
-RM = /bin/rm -f
GARBAGES = */*.elc
clean:
-$(RM) $(GARBAGES)
+
+tar:
+ cvs commit
+ sh -c 'cvs tag -R $(PACKAGE)-`echo $(VERSION) | tr . _`; \
+ cd /tmp; \
+ cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root \
+ export -d $(PACKAGE)-$(VERSION) \
+ -r $(PACKAGE)-`echo $(VERSION) | tr . _` \
+ lemi'
+ cd /tmp; \ # $(RM) $(PACKAGE)-$(VERSION)/ftp.in ; \
+ $(TAR) cvzf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
+ cd /tmp; $(RM) -r $(PACKAGE)-$(VERSION)
+# sed "s/VERSION/$(VERSION)/" < ftp.in | sed "s/API/$(API)/" \
+# | sed "s/PACKAGE/$(PACKAGE)/" > ftp