(tar): modified.
authormorioka <morioka>
Wed, 24 Sep 1997 08:42:25 +0000 (08:42 +0000)
committermorioka <morioka>
Wed, 24 Sep 1997 08:42:25 +0000 (08:42 +0000)
Makefile

index c536b6e..e6cc36f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 1.1 1997-09-24 08:35:33 morioka Exp $
+# $Id: Makefile,v 1.2 1997-09-24 08:42:25 morioka Exp $
 #
 
 EMACS_SRC_DIR  = /usr/src/emacs-20.2
@@ -8,10 +8,13 @@ CFLAGS                = -g -O2 -shared -nostdlib -fPIC -pipe -I$(EMACS_SRC_DIR)/src
 CANNA_LDFLAGS  = -lcanna -DCANNA_EMACS -DCANNA_EMACS_DL
 CANNA_CFLAGS   = -I/usr/local/canna/include
 
+VERSION        = 1.0
+
 canna.so:      canna.c
        $(CC) $(CFLAGS) $(CANNA_CFLAGS) -o canna.so $(CANNA_LDFLAGS) \
                canna.c
 
 tar:
-       cd ..; tar cvzf emacs-canna.tar.gz \
-               canna/Makefile canna/*.c canna/*.el
+       -(cd /tmp ; mkdir dl-canna-$(VERSION))
+       cp README.?? Makefile *.c *.el ChangeLog /tmp/dl-canna-$(VERSION)
+       cd /tmp; tar cvzf dl-canna-$(VERSION).tar.gz dl-canna-$(VERSION)