Couple of more minor tweaks to gdb.tar.Z target.
authorFred Fish <fnf@specifix.com>
Tue, 6 Apr 1993 23:32:16 +0000 (23:32 +0000)
committerFred Fish <fnf@specifix.com>
Tue, 6 Apr 1993 23:32:16 +0000 (23:32 +0000)
Makefile.in

index 64c5cc23e3e19487e3b1969ecf34cda23e986d20..6230ca1476c42a8b1a51ae463bf50e4d8dfe9fb9 100644 (file)
@@ -63,6 +63,7 @@ CXXFLAGS = -g -O
 RANLIB = ranlib
 NM = nm
 GZIP = gzip
+COMPRESS = compress
 
 # BISON: This line sed'ed to BISON = bison -y for FSF releases, don't remove.
 BISON = `if [ -f $${rootme}/byacc/byacc ] ; \
@@ -872,11 +873,11 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
        ln -s ../../texinfo/tex3patch   proto-toplev/texinfo/
        chmod og=u `find proto-toplev -print`
        (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
-               echo "==> Making gdb-$$VER.tar.Z"; \
                ln -s proto-toplev gdb-$$VER; \
-               tar cfh - gdb-$$VER \
-               | compress -v >gdb-$$VER.tar.Z)
-       $(GZIP) -d <gdb-$$VER.tar.Z | $(GZIP) -9 -v >gdb-$$VER.tar.z
+               echo "==> Making gdb-$$VER.tar.Z"; \
+               tar cfh - gdb-$$VER | $(COMPRESS) -v >gdb-$$VER.tar.Z; \
+               echo "==> Making gdb-$$VER.tar.z"; \
+               tar cfh - gdb-$$VER | $(GZIP) -v -9 >gdb-$$VER.tar.z)
 
 # When you use `make setup-dirs' or `make taz' you should always redefine
 # this macro.