From 443c2c2e1048b82b79905dc0c6311889ccaf950c Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 30 Apr 2002 11:46:49 +0000 Subject: 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(-) (limited to 'Makefile.inc1') 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) -- cgit v1.1