diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | unix/Makefile.in | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -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 |