From: tomo Date: Thu, 1 Aug 2002 09:51:33 +0000 (+0000) Subject: (PACKAGE): New variable. X-Git-Tag: lemi-1_14_1~1 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e0690e44d80855c8cd3739e1c3ae1a52aa3bc748;p=elisp%2Flemi.git (PACKAGE): New variable. (VERSION): New variable. (TAR): New variable. (tar): New target. --- diff --git a/Makefile b/Makefile index d27eb07..cdee606 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,14 @@ # 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 @@ -13,3 +18,17 @@ 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