* Makefile.in (do-tar-gz): New target, split out from tail end of taz target.
authorKen Raeburn <raeburn@cygnus>
Sat, 13 Jul 1996 03:22:47 +0000 (03:22 +0000)
committerKen Raeburn <raeburn@cygnus>
Sat, 13 Jul 1996 03:22:47 +0000 (03:22 +0000)
Run each command separately, don't use pipes.
(taz): Use it.

ChangeLog
Makefile.in

index e2545203bb3afcdb883de8ff4e3203475ef1f0c3..eb33c039c3969a847da33efad7619daf8364f463 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Jul 12 23:21:17 1996  Ken Raeburn  <raeburn@cygnus.com>
+
+       * Makefile.in (do-tar-gz): New target, split out from tail end of
+       taz target.  Run each command separately, don't use pipes.
+       (taz): Use it.
+
 Fri Jul 12 12:08:04 1996  Stan Shebs  <shebs@andros.cygnus.com>
 
        * mpw-configure: Look for g-mpw-make.sed in config/mpw.
index ea8a31fc08f0011ba9a884279f362a0fab4dcc0d..adaff10041708db09caf9986cdf2d3ee5c28e51b 100644 (file)
@@ -1473,11 +1473,15 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \
          ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \
        else true; fi
        chmod og=u `find . -print`
-       (VER=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
-               echo "==> Making $(TOOL)-$$VER.tar.gz"; \
-               rm -f $(TOOL)-$$VER; ln -s proto-toplev $(TOOL)-$$VER; \
-               tar cfh - $(TOOL)-$$VER \
-               | $(GZIPPROG) -v -9 >$(TOOL)-$$VER.tar.gz )
+       $(MAKE) -f Makefile.in do-tar-gz TOOL=$(TOOL) \
+               VER=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`
+
+do-tar-gz:
+       echo "==> Making $(TOOL)-$(VER).tar.gz"
+       -rm -f $(TOOL)-$(VER)
+       ln -s proto-toplev $(TOOL)-$(VER)
+       tar cfh $(TOOL)-$(VER).tar $(TOOL)-$(VER)
+       $(GZIPPROG) -v -9 $(TOOL)-$(VER).tar
 
 TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
 DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)