aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1996-07-13 03:22:47 +0000
committerKen Raeburn <raeburn@cygnus>1996-07-13 03:22:47 +0000
commitb5dbae2826762fbd5c9d8748a0233304dea07975 (patch)
treefd053e275372f9a8a630a3fc62dc30edbf2f7c73 /Makefile.in
parentc0e6ae2e2e996bda783d6464b880e235c71727b8 (diff)
downloadgdb-b5dbae2826762fbd5c9d8748a0233304dea07975.zip
gdb-b5dbae2826762fbd5c9d8748a0233304dea07975.tar.gz
gdb-b5dbae2826762fbd5c9d8748a0233304dea07975.tar.bz2
* 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.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index ea8a31f..adaff10 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)