summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-11-14 20:52:54 +0000
committerphk <phk@FreeBSD.org>1994-11-14 20:52:54 +0000
commit691e3da72877508caf9b42ae04d45ca94c5dd97c (patch)
tree26a72c5ec6fa8b489ba2df521137e82fc9c01fc9 /Makefile
parent277a5cfc859e85cd4ca28636320955ef71c7c395 (diff)
downloadFreeBSD-src-691e3da72877508caf9b42ae04d45ca94c5dd97c.zip
FreeBSD-src-691e3da72877508caf9b42ae04d45ca94c5dd97c.tar.gz
More changes for the "distribute" target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9bc06e6..0a5082d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.28 1994/11/01 19:52:38 pst Exp $
+# $Id: Makefile,v 1.29 1994/11/08 00:55:08 ache Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -23,16 +23,17 @@
# Put initial settings here.
SUBDIR=
+# Must be first for "distribute" to work
+.if exists(release)
+SUBDIR+= release
+.endif
+
.if exists(bin)
SUBDIR+= bin
.endif
.if exists(contrib)
SUBDIR+= contrib
.endif
-.if exists(etc)
-# XXX until etc vs release conversion is done
-# SUBDIR+= etc
-.endif
.if exists(games)
SUBDIR+= games
.endif
@@ -76,6 +77,11 @@ SUBDIR+= secure
SUBDIR+= lkm
.endif
+# etc must be last for "distribute" to work
+.if exists(etc) && make(distribute)
+SUBDIR+= etc
+.endif
+
# These are last, since it is nice to at least get the base system
# rebuilt before you do them.
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)
OpenPOWER on IntegriCloud