summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-12-17 17:23:10 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-12-17 17:23:10 (GMT)
commite0920860f01950256d4d4a39af06942fb4ff98b3 (patch)
tree6c41673c3690263d81e09b620405cbcd90dfbf30
parentdcb8ef7e626e6c7c77eab05df47cdbe283830627 (diff)
downloadtcl-e0920860f01950256d4d4a39af06942fb4ff98b3.zip
tcl-e0920860f01950256d4d4a39af06942fb4ff98b3.tar.gz
tcl-e0920860f01950256d4d4a39af06942fb4ff98b3.tar.bz2
* unix/Makefile.in: Modify the distclean-packages target so
that empty build directories are deleted.
-rw-r--r--ChangeLog3
-rw-r--r--unix/Makefile.in6
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7fa86c2..cba0fcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@
2008-12-17 Don Porter <dgp@users.sourceforge.net>
+ * unix/Makefile.in: Modify the distclean-packages target so
+ that empty build directories are deleted.
+
* unix/Makefile.in: Add build support for collections of TEA
* unix/configure.in: packages found under the pkgs directory.
[Patch 1163406]. Still needs porting to Windows.
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 353b6fb..83b5008 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.250 2008/12/17 15:36:58 dgp Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.251 2008/12/17 17:23:10 dgp Exp $
VERSION = @TCL_VERSION@
MAJOR_VERSION = @TCL_MAJOR_VERSION@
@@ -1626,9 +1626,11 @@ distclean-packages:
if [ -f $(PKG_DIR)/$$pkg/Makefile ]; then \
( cd $(PKG_DIR)/$$pkg; $(MAKE) distclean; ) \
fi; \
+ cd $$builddir; \
+ rm -rf $(PKG_DIR)/$$pkg; \
fi; \
done; \
- cd $$builddir
+ rm -rf $(PKG_DIR)
#
# Target to regenerate header files and stub files from the *.decls tables.