svn commit: r273186 - head/share/mk

Mark Johnston markj at FreeBSD.org
Thu Oct 16 21:13:47 UTC 2014


Author: markj
Date: Thu Oct 16 21:13:46 2014
New Revision: 273186
URL: https://svnweb.freebsd.org/changeset/base/273186

Log:
  Don't define rules based on PROGS if PROGS is empty.
  
  Reviewed by:	sjg, ngie
  MFC after:	1 week
  Sponsored by:	EMC / Isilon Storage Division

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

Modified: head/share/mk/bsd.progs.mk
==============================================================================
--- head/share/mk/bsd.progs.mk	Thu Oct 16 20:46:02 2014	(r273185)
+++ head/share/mk/bsd.progs.mk	Thu Oct 16 21:13:46 2014	(r273186)
@@ -99,9 +99,11 @@ $p.$t: .PHONY .MAKE
 .endfor
 .endfor
 
+.if !empty(PROGS)
 .for t in ${PROGS_TARGETS:O:u}
 $t: ${PROGS:%=%.$t}
 .endfor
+.endif
 
 .if empty(PROGS) && !empty(SCRIPTS)
 


More information about the svn-src-all mailing list