Don't make wildcards .PHONY

Add pseudo machines host and common to machine list for destroy
This commit is contained in:
Simon J. Gerraty 2014-05-10 00:24:32 +00:00
parent 241026341f
commit 005cfa50ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=265788

View File

@ -129,7 +129,7 @@ cleanobj: clean cleandepend
# Tell bmake not to look for generated files via .PATH
.if !empty(CLEANFILES)
.NOPATH: ${CLEANFILES}
.NOPATH: ${CLEANFILES:N*\**}
.endif
.if !target(clean)
@ -180,7 +180,8 @@ destroy-stage: .NOMETA
.endif
# allow parallel destruction
.for m in ${ALL_MACHINE_LIST}
_destroy_machine_list = common host ${ALL_MACHINE_LIST}
.for m in ${_destroy_machine_list:O:u}
destroy-all: destroy.$m
.if !target(destroy.$m)
destroy.$m: .NOMETA