summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
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