diff options
author | dgp <dgp@users.sourceforge.net> | 2008-12-17 17:23:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-12-17 17:23:10 (GMT) |
commit | e0920860f01950256d4d4a39af06942fb4ff98b3 (patch) | |
tree | 6c41673c3690263d81e09b620405cbcd90dfbf30 /unix | |
parent | dcb8ef7e626e6c7c77eab05df47cdbe283830627 (diff) | |
download | tcl-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.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
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. |