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

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)