Allow clean at level 0

This commit is contained in:
Simon J. Gerraty
2012-11-08 21:39:00 +00:00
parent 1e5c3c2b29
commit 72f888f181
+1 -1
View File
@@ -15,7 +15,7 @@ __<bsd.init.mk>__:
.MAIN: all .MAIN: all
.if defined(.PARSEDIR) .if defined(.PARSEDIR)
.if ${.MAKE.LEVEL:U1} == 0 && ${BUILD_AT_LEVEL0:Uyes:tl} == "no" .if ${.MAKE.LEVEL:U1} == 0 && ${BUILD_AT_LEVEL0:Uyes:tl} == "no" && !make(clean*)
# this tells lib.mk and prog.mk to not actually build anything # this tells lib.mk and prog.mk to not actually build anything
_SKIP_BUILD = not building at level 0 _SKIP_BUILD = not building at level 0
.endif .endif