summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-30 11:46:49 +0000
committerru <ru@FreeBSD.org>2002-04-30 11:46:49 +0000
commit443c2c2e1048b82b79905dc0c6311889ccaf950c (patch)
tree7408c5e36576171a4e68e4f29fdcd03010c1fb44 /Makefile.inc1
parentc7f10c0b18d1a31c7b6a5c3bbe2170185b5cfd31 (diff)
downloadFreeBSD-src-443c2c2e1048b82b79905dc0c6311889ccaf950c.zip
FreeBSD-src-443c2c2e1048b82b79905dc0c6311889ccaf950c.tar.gz
Back out part of the revision 1.261: "etc" indeed needs to be
last for "distribute" to succeed -- the "make makedb" part of the etc/Makefile:distribution target should be the last thing made.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index b37c2748..9d45af1 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -57,9 +57,6 @@ SUBDIR+= lib
.if exists(${.CURDIR}/bin)
SUBDIR+= bin
.endif
-.if exists(${.CURDIR}/etc)
-SUBDIR+= etc
-.endif
.if exists(${.CURDIR}/games) && !defined(NOGAMES)
SUBDIR+= games
.endif
@@ -96,6 +93,11 @@ SUBDIR+= usr.bin
SUBDIR+= usr.sbin
.endif
+# etc must be last for "distribute" to work
+.if exists(${.CURDIR}/etc)
+SUBDIR+= etc
+.endif
+
# These are last, since it is nice to at least get the base system
# rebuilt before you do them.
.if defined(LOCAL_DIRS)
OpenPOWER on IntegriCloud