* 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 e254520..eb33c03 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 ea8a31f..adaff10 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)