Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Don't automatically load ".depend" files during "ma...
details: https://anonhg.NetBSD.org/src/rev/5838b070663e
branches: trunk
changeset: 769450:5838b070663e
user: apb <apb%NetBSD.org@localhost>
date: Sat Sep 10 19:25:10 2011 +0000
description:
Don't automatically load ".depend" files during "make clean"
or "make cleandir".
diffstat:
share/mk/bsd.clean.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 4873f7931422 -r 5838b070663e share/mk/bsd.clean.mk
--- a/share/mk/bsd.clean.mk Sat Sep 10 19:07:57 2011 +0000
+++ b/share/mk/bsd.clean.mk Sat Sep 10 19:25:10 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.clean.mk,v 1.1 2011/09/10 16:57:35 apb Exp $
+# $NetBSD: bsd.clean.mk,v 1.2 2011/09/10 19:25:10 apb Exp $
# <bsd.clean.mk>
#
@@ -57,4 +57,10 @@
fi }
.endfor
+# Don't automatically load ".depend" files during "make clean"
+# or "make cleandir".
+.if make(clean) || make(cleandir)
+.MAKE.DEPENDFILE := .depend.no-such-file
+.endif
+
.endif # !defined(_BSD_CLEAN_MK)
Home |
Main Index |
Thread Index |
Old Index