pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk When cleaning up the working directories in WRKOBJD...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc2dac6d772d
branches: trunk
changeset: 535370:cc2dac6d772d
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Nov 15 12:05:09 2007 +0000
description:
When cleaning up the working directories in WRKOBJDIR, also try to
remove the category directory, to not leave unnecessary empty
directories around.
diffstat:
mk/bsd.pkg.clean.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r f1cad108825d -r cc2dac6d772d mk/bsd.pkg.clean.mk
--- a/mk/bsd.pkg.clean.mk Thu Nov 15 10:48:40 2007 +0000
+++ b/mk/bsd.pkg.clean.mk Thu Nov 15 12:05:09 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.clean.mk,v 1.11 2007/07/02 20:24:27 adrianp Exp $
+# $NetBSD: bsd.pkg.clean.mk,v 1.12 2007/11/15 12:05:09 rillig Exp $
#
# This Makefile fragment is included to bsd.pkg.mk and defines the
# relevant variables and targets for the "clean" phase.
@@ -74,6 +74,7 @@
. if defined(WRKOBJDIR)
${_PKG_SILENT}${_PKG_DEBUG} \
${RMDIR} ${BUILD_DIR} 2>/dev/null || ${TRUE}; \
+ ${RMDIR} ${BUILD_DIR:H} 2>/dev/null || ${TRUE}; \
${RM} -f ${WRKDIR_BASENAME} 2>/dev/null || ${TRUE}
. endif
Home |
Main Index |
Thread Index |
Old Index