Don't automatically load ".depend" files during "make clean"
or "make cleandir".
This commit is contained in:
parent
bc3992397d
commit
87213f7215
@ -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>
|
# <bsd.clean.mk>
|
||||||
#
|
#
|
||||||
@ -57,4 +57,10 @@ __cleanuse: .USE
|
|||||||
fi }
|
fi }
|
||||||
.endfor
|
.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)
|
.endif # !defined(_BSD_CLEAN_MK)
|
||||||
|
Loading…
Reference in New Issue
Block a user