From f9059783fcec9d63344fa4e1f352f44e397ecb65 Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 2 Mar 1999 19:10:09 +0000 Subject: [PATCH] (PACKAGE): New variable. (TAR): New variable. (RM): New variable. (CP): New variable. (tar): New target. --- Makefile.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Makefile.in b/Makefile.in index 07863a2..6d07082 100644 --- a/Makefile.in +++ b/Makefile.in @@ -20,6 +20,12 @@ LINKER = $(CC) -shared -o VERSION = 1.2 +PACKAGE = emacs-canna +TAR = tar +RM = /bin/rm -f +CP = /bin/cp -p + + all: canna.so canna.elc canna.elc: canna.el @@ -44,3 +50,18 @@ install.so: canna.so clean: -rm -f canna.o canna.so canna.elc + + +tar: + cvs commit + sh -c 'cvs tag -RF $(PACKAGE)-`echo $(VERSION) | tr . _`; \ + cd /tmp; \ + cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \ + export -d $(PACKAGE)-$(VERSION) \ + -r $(PACKAGE)-`echo $(VERSION) | tr . _` \ + emacs-canna' + $(RM) /tmp/$(PACKAGE)-$(VERSION)/ftp.in + cd /tmp; $(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