summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2010-09-15 16:55:14 (GMT)
committerdgp <dgp@users.sourceforge.net>2010-09-15 16:55:14 (GMT)
commit049dfbc90f9aea5bc4cd4e02bc9cf4c774ea4f8a (patch)
tree5d6566d11326557610b81db316b7a4b7018a421e
parent7a4123220019952a0c9fce80dc512a59f9f22208 (diff)
downloadtcl-049dfbc90f9aea5bc4cd4e02bc9cf4c774ea4f8a.zip
tcl-049dfbc90f9aea5bc4cd4e02bc9cf4c774ea4f8a.tar.gz
tcl-049dfbc90f9aea5bc4cd4e02bc9cf4c774ea4f8a.tar.bz2
* unix/Makefile.in: Revise `make dist` target to tolerate the
case of zero bundled packages.
-rw-r--r--ChangeLog5
-rw-r--r--unix/Makefile.in5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b98065a..15eef04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-15 Don Porter <dgp@users.sourceforge.net>
+
+ * unix/Makefile.in: Revise `make dist` target to tolerate the
+ case of zero bundled packages.
+
2010-09-15 Jan Nijtmans <nijtmans@users.sf.net>
* tools/genStubs.tcl [Patch 3034251] backport ttkGenStubs.tcl
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 2a4985d..37d8f45 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -4,7 +4,7 @@
# "./configure", which is a configuration script generated by the "autoconf"
# program (constructs like "@foo@" will get replaced in the actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.304 2010/08/12 00:40:21 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.305 2010/09/15 16:55:14 dgp Exp $
VERSION = @TCL_VERSION@
MAJOR_VERSION = @TCL_MAJOR_VERSION@
@@ -1720,6 +1720,7 @@ distclean-packages:
dist-packages: configure-packages
@rm -rf $(DISTROOT)/pkgs; \
+ mkdir -p $(DISTROOT)/pkgs; \
for i in $(PKGS_DIR)/*; do \
if [ -d $$i ]; then \
pkg=`basename $$i`; \
@@ -1985,7 +1986,7 @@ dist: $(UNIX_DIR)/configure $(UNIX_DIR)/tclConfig.h.in $(UNIX_DIR)/tcl.pc.in $(M
$(DISTDIR)/libtommath
mkdir $(DISTDIR)/pkgs
cp $(TOP_DIR)/pkgs/README $(DISTDIR)/pkgs
- for i in $(DISTROOT)/pkgs/*.tar.gz; do \
+ for i in `ls $(DISTROOT)/pkgs/*.tar.gz 2> /dev/null`; do \
tar -C $(DISTDIR)/pkgs -xzf "$$i"; \
done