Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Remove distrib and etc from _SUBDIR. These should never get ...
details: https://anonhg.NetBSD.org/src/rev/65d201ec780c
branches: trunk
changeset: 516314:65d201ec780c
user: jmc <jmc%NetBSD.org@localhost>
date: Sun Oct 21 08:03:01 2001 +0000
description:
Remove distrib and etc from _SUBDIR. These should never get added to the
subdir list as anything building into them will access them directly (ala
the make release rule or the mtree rule). There were good reasons for
controlling this at the top level before and those should remain in place.
On cleandir and obj builds these should get run through but that's it for
the "normal" rule sets. (This was breaking the builds as make includes doesn't
function inside of distrib for instance).
diffstat:
Makefile | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 03d1f99b853f -r 65d201ec780c Makefile
--- a/Makefile Sun Oct 21 03:46:30 2001 +0000
+++ b/Makefile Sun Oct 21 08:03:01 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.139 2001/10/19 14:17:52 tv Exp $
+# $NetBSD: Makefile,v 1.140 2001/10/21 08:03:01 jmc 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
@@ -73,8 +73,17 @@
.if ${USETOOLS} == "yes"
_SUBDIR+= tools
.endif
+# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
+
_SUBDIR+= lib include gnu bin games libexec sbin usr.bin \
- usr.sbin share sys etc distrib regress
+ usr.sbin share sys regress
+
+.if make(cleandir) || make(obj)
+_SUBDIR+= distrib
+.ifdef MAKEOBJDIRPREFIX
+_SUBDIR+= etc
+.endif
+.endif
# Weed out directories that don't exist.
Home |
Main Index |
Thread Index |
Old Index