From: morioka Date: Tue, 2 Mar 1999 19:10:09 +0000 (+0000) Subject: (PACKAGE): New variable. X-Git-Tag: emacs-canna-1_2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f9059783fcec9d63344fa4e1f352f44e397ecb65;p=elisp%2Femacs-canna.git (PACKAGE): New variable. (TAR): New variable. (RM): New variable. (CP): New variable. (tar): New target. --- 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