diff options
author | dgp <dgp@users.sourceforge.net> | 2010-09-15 16:55:14 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2010-09-15 16:55:14 (GMT) |
commit | 049dfbc90f9aea5bc4cd4e02bc9cf4c774ea4f8a (patch) | |
tree | 5d6566d11326557610b81db316b7a4b7018a421e /unix/Makefile.in | |
parent | 7a4123220019952a0c9fce80dc512a59f9f22208 (diff) | |
download | tcl-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.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
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 |