Module Name:    src
Committed By:   apb
Date:           Sun Dec  2 11:46:35 UTC 2012

Modified Files:
        src/tools: Makefile

Log Message:
If tools are not wanted, then set SUBDIR= empty instead of
defining all the subdir-related targets to do nothing.  This way,
the targets are not invoked at all, instead of being invoked but
doing nothing.


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/tools/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/Makefile
diff -u src/tools/Makefile:1.162 src/tools/Makefile:1.163
--- src/tools/Makefile:1.162	Sun Dec  2 11:19:45 2012
+++ src/tools/Makefile	Sun Dec  2 11:46:34 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.162 2012/12/02 11:19:45 apb Exp $
+#	$NetBSD: Makefile,v 1.163 2012/12/02 11:46:34 apb Exp $
 
 .include <bsd.own.mk>
 
@@ -172,12 +172,8 @@ check_MKTOOLS: .PHONY .NOTMAIN
 .endif
 
 .if ${MKTOOLS:Uyes} == "no" || ${USETOOLS} != "yes"	# {
+SUBDIR= # empty
 realall realdepend install: check_MKTOOLS
-
-.for dir in ${SUBDIR:N.WAIT}
-all-${dir} depend-${dir} dependall-${dir} install-${dir}:
-	@true
-.endfor
 .endif							# }
 
 .include <bsd.subdir.mk>

Reply via email to