From d6e61d989b9c7f44c9890e1e85646a2adbc00afb Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 30 Apr 2002 11:46:49 +0000 Subject: [PATCH] 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. --- Makefile.inc1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index b37c2748da7a..9d45af1366d0 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)