From e0690e44d80855c8cd3739e1c3ae1a52aa3bc748 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 1 Aug 2002 09:51:33 +0000 Subject: [PATCH] (PACKAGE): New variable. (VERSION): New variable. (TAR): New variable. (tar): New target. --- Makefile | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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 -- 1.7.10.4