(What's EMH?): Modify for SEMI 1.7.
[elisp/emh.git] / Makefile
index fca19a4..31834ed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
 #
-# $Id: Makefile,v 0.1 1997-05-15 06:48:15 morioka Exp $
+# $Id: Makefile,v 1.12 1998-06-08 06:08:05 morioka Exp $
 #
 
-VERSION = 0.19
+VERSION = 1.5.1
 
-TAR    = gtar
+TAR    = tar
 RM     = /bin/rm -f
 EMACS  = emacs
 FLAGS   = -batch -q -no-site-file -l EMH-MK
@@ -27,8 +27,20 @@ clean:
 
 
 tar:
-       tar cvf ../emh-$(VERSION).tar $(FILES)
-       -cd ..; mkdir emh-$(VERSION)
-       cd ../emh-$(VERSION); $(TAR) xvf ../emh-$(VERSION).tar
-       cd ..; $(TAR) cvzf emh-$(VERSION).tar.gz emh-$(VERSION)
-       cd ..; $(RM) -r emh-$(VERSION); rm emh-$(VERSION).tar
+       cvs commit
+       sh -c 'cvs tag -RF emh-`echo $(VERSION) \
+                               | sed s/\\\\./_/ | sed s/\\\\./_/`; \
+       cd /tmp; \
+       cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root \
+               export -d emh-$(VERSION) \
+               -r emh-`echo $(VERSION) \
+                       | sed s/\\\\./_/ | sed s/\\\\./_/` emh'
+       $(RM) /tmp/emh-$(VERSION)/ftp.in
+       cd /tmp; $(TAR) cvzf emh-$(VERSION).tar.gz emh-$(VERSION)
+       cd /tmp; $(RM) -r emh-$(VERSION)
+       sed "s/VERSION/$(VERSION)/" < ftp.in > ftp
+#      tar cvf ../emh-$(VERSION).tar $(FILES)
+#      -cd ..; mkdir emh-$(VERSION)
+#      cd ../emh-$(VERSION); $(TAR) xvf ../emh-$(VERSION).tar
+#      cd ..; $(TAR) cvzf emh-$(VERSION).tar.gz emh-$(VERSION)
+#      cd ..; $(RM) -r emh-$(VERSION); rm emh-$(VERSION).tar