Mark sub-make targets as .MAKE and .PHONY to handle -n and always-build properly.

MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-10-15 19:13:53 +00:00
parent 8748f58cde
commit 60e03c60c0

View File

@ -17,7 +17,7 @@ SPROGS+=usr.sbin/sendmail
.endif
# This target is used to rebuild these programs with crypto.
secure:
secure: .MAKE .PHONY
.for entry in ${SPROGS}
cd ${.CURDIR}/../${entry}; \
${MAKE} cleandir; \
@ -28,7 +28,7 @@ secure:
.endfor
# This target is used to rebuild these programs without crypto.
insecure:
insecure: .MAKE .PHONY
.for entry in ${SPROGS}
cd ${.CURDIR}/../${entry}; \
${MAKE} MK_CRYPT=no cleandir; \