update.
[elisp/emacs-canna.git] / Makefile.in
index 07863a2..d0436f8 100644 (file)
@@ -18,7 +18,13 @@ CFLAGS               = -g -O2 -c -nostdlib -fPIC
 
 LINKER         = $(CC) -shared -o
 
-VERSION                = 1.2
+VERSION                = 1.4
+
+PACKAGE = emacs-canna
+TAR    = tar
+RM     = /bin/rm -f
+CP     = /bin/cp -p
+
 
 all:   canna.so canna.elc
 
@@ -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@cvs.m17n.org:/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