Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Do not descend into `tools' on make clean{dir, } if USETOOLS=...



details:   https://anonhg.NetBSD.org/src/rev/89aeee5f44bb
branches:  trunk
changeset: 515956:89aeee5f44bb
user:      jwise <jwise%NetBSD.org@localhost>
date:      Wed Oct 10 17:20:15 2001 +0000

description:
Do not descend into `tools' on make clean{dir,} if USETOOLS=no, as doing
so without TOOLDIR set will blow up.

diffstat:

 Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e11387eb8cec -r 89aeee5f44bb Makefile
--- a/Makefile  Wed Oct 10 16:57:44 2001 +0000
+++ b/Makefile  Wed Oct 10 17:20:15 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.134 2001/10/08 23:42:21 tv Exp $
+#      $NetBSD: Makefile,v 1.135 2001/10/10 17:20:15 jwise Exp $
 
 # This is the top-level makefile for building NetBSD. For an outline of
 # how to build a snapshot or release, as well as other release engineering
@@ -69,7 +69,10 @@
 
 SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share sys
 .if make(cleandir) || make(obj)
-SUBDIR+= distrib tools
+SUBDIR+= distrib
+.if ${USETOOLS} != "no"
+SUBDIR+= tools
+.endif
 .ifdef MAKEOBJDIRPREFIX
 SUBDIR+= etc
 .endif



Home | Main Index | Thread Index | Old Index