Follow-up r295991: Only allow 'make destroy*' to include bsd.obj.mk.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-02-26 22:13:45 +00:00
parent 180a8487ee
commit 5d5a53b49f

View File

@ -54,7 +54,9 @@ show-help:
not-valid-target:
@echo "ERROR: '${_TARGETS}' is not a valid target for ${MACHINE}."
.if make(destroy*)
.include <bsd.obj.mk>
.endif
.for t in ${_TARGETS:Nlove}
.if !target($t)