svn commit: r301941 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Wed Jun 15 23:58:11 UTC 2016


Author: bdrewery
Date: Wed Jun 15 23:58:09 2016
New Revision: 301941
URL: https://svnweb.freebsd.org/changeset/base/301941

Log:
  Mark targets with _SUBDIR as .PHONY.
  
  This is mostly fixing META_MODE with realinstall wanting a .meta
  file when it does not need one.  These targets really should
  always run though since they have _SUBDIR on them.
  
  Approved by:	re (implicit)
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.subdir.mk

Modified: head/share/mk/bsd.subdir.mk
==============================================================================
--- head/share/mk/bsd.subdir.mk	Wed Jun 15 23:58:06 2016	(r301940)
+++ head/share/mk/bsd.subdir.mk	Wed Jun 15 23:58:09 2016	(r301941)
@@ -158,9 +158,9 @@ ${__target}_subdir_${DIRPRFX}${__dir}: .
 	    ${_SUBDIR_SH};
 .endif
 .endfor	# __dir in ${SUBDIR}
-${__target}: ${__subdir_targets}
+${__target}: ${__subdir_targets} .PHONY
 .else
-${__target}: _SUBDIR
+${__target}: _SUBDIR .PHONY
 .endif	# SUBDIR_PARALLEL || _is_standalone_target
 .endif	# make(${__target})
 .endfor	# __target in ${SUBDIR_TARGETS}


More information about the svn-src-head mailing list