Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2014 21:13:47 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273186 - head/share/mk
Message-ID:  <201410162113.s9GLDlO8083620@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410162113.s9GLDlO8083620>