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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=242800

View File

@ -15,7 +15,7 @@ __<bsd.init.mk>__:
.MAIN: all
.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
_SKIP_BUILD = not building at level 0
.endif