Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Use "rm -rf" instead of "rm -f" in bsd.clean.mk. T...
details: https://anonhg.NetBSD.org/src/rev/573c5f75230e
branches: trunk
changeset: 782762:573c5f75230e
user: apb <apb%NetBSD.org@localhost>
date: Mon Nov 19 15:14:27 2012 +0000
description:
Use "rm -rf" instead of "rm -f" in bsd.clean.mk. This will
allow CLEANFILES or CLEANDIRFILES to contain directory names.
diffstat:
share/mk/bsd.clean.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3d98692bb9cc -r 573c5f75230e share/mk/bsd.clean.mk
--- a/share/mk/bsd.clean.mk Mon Nov 19 15:01:17 2012 +0000
+++ b/share/mk/bsd.clean.mk Mon Nov 19 15:14:27 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.clean.mk,v 1.6 2012/11/18 19:52:40 apb Exp $
+# $NetBSD: bsd.clean.mk,v 1.7 2012/11/19 15:14:27 apb Exp $
# <bsd.clean.mk>
#
@@ -62,7 +62,7 @@
:? ${.OBJDIR} \
: ${.OBJDIR} ${.CURDIR} }
${"${.ALLSRC:@v@${${v}:M*}@:Q}" == "":?@true: \
- (cd ${_d} && rm -f ${.ALLSRC:@v@${${v}}@} || true) }
+ (cd ${_d} && rm -rf ${.ALLSRC:@v@${${v}}@} || true) }
.if "${MKCLEANVERIFY}" == "yes"
@${"${.ALLSRC:@v@${${v}:M*}@:Q}" == "":?true: \
bad="\$(cd ${_d} && ls -1d ${.ALLSRC:@v@${${v}}@} 2>/dev/null)"; \
Home |
Main Index |
Thread Index |
Old Index