]> thyrsus.com Git - bs.git/commitdiff
Updated.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 14 Aug 1998 04:00:14 +0000 (04:00 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 14 Aug 1998 04:00:14 +0000 (04:00 +0000)
Makefile

index f8123acf727cc02c42859ec9ef6af7116d182dd3..ff05fb8357349fd6e061ec64a535fc1a4a3f8545 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 # Note: When the version changes, you also have to change
 #  * the name of the containing directory
 #  * the RPM spec file
-V=2.1
+V=2.2
 
 # Flags for use with the Linux ncurses package (recommended)
 TERMLIB = -lncurses
@@ -27,10 +27,10 @@ SOURCES = READ.ME bs.c Makefile bs.6 bs.lsm bs.spec
 bs.shar:
        shar $(SOURCES) >bs.shar
 
-bs.tar:
-       (cd ..; tar -cvf bs-$(V)/bs.tar `echo $(SOURCES) | sed "/\(^\| \)/s// bs-$(V)\//g"`)
-bs.tar.gz: bs.tar
-       gzip -f bs.tar
+bs-$(V).tar.gz:
+       tar --name-prefix='bs-$(V)/' -czf bs-$(V).tar.gz $(SOURCES)
+
+tgz: bs-$(V).tar.gz
 
 rpm: bs.tar.gz
        cp bs.tar.gz /usr/src/SOURCES/bs-$(V).tar.gz