]> granicus.if.org Git - flex/commitdiff
Produce both compress'd and gzip'd distribution tar files
authorVern Paxson <vern@ee.lbl.gov>
Wed, 1 Dec 1993 07:56:36 +0000 (07:56 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Wed, 1 Dec 1993 07:56:36 +0000 (07:56 +0000)
Makefile.in

index 709b246b1715bb895419f4bc62837ae0c894a004..50589b6011c8f3484486dce743796c047902b0c1 100644 (file)
@@ -49,7 +49,6 @@ RANLIB = @RANLIB@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
-COMPRESS = compress
 
 # You normally do not need to modify anything below this point.
 # ------------------------------------------------------------
@@ -225,7 +224,8 @@ dist2:
        @chmod 444 $(DIST_NAME)/initscan.c
        @chmod +w $(DIST_NAME)/Makefile.in
        tar chf $(DIST_NAME).tar $(DIST_NAME)
-       $(COMPRESS) $(DIST_NAME).tar
+       compress <$(DIST_NAME).tar >$(DIST_NAME).tar.Z
+       gzip <$(DIST_NAME).tar >$(DIST_NAME).tar.gz
 
 Makefile: Makefile.in config.status
        $(SHELL) config.status