More changes for the "distribute" target.

This commit is contained in:
Poul-Henning Kamp
1994-11-14 20:52:54 +00:00
parent f079582484
commit 750f81de87
+11 -5
View File
@@ -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: # Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib # -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -23,16 +23,17 @@
# Put initial settings here. # Put initial settings here.
SUBDIR= SUBDIR=
# Must be first for "distribute" to work
.if exists(release)
SUBDIR+= release
.endif
.if exists(bin) .if exists(bin)
SUBDIR+= bin SUBDIR+= bin
.endif .endif
.if exists(contrib) .if exists(contrib)
SUBDIR+= contrib SUBDIR+= contrib
.endif .endif
.if exists(etc)
# XXX until etc vs release conversion is done
# SUBDIR+= etc
.endif
.if exists(games) .if exists(games)
SUBDIR+= games SUBDIR+= games
.endif .endif
@@ -76,6 +77,11 @@ SUBDIR+= secure
SUBDIR+= lkm SUBDIR+= lkm
.endif .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 # These are last, since it is nice to at least get the base system
# rebuilt before you do them. # rebuilt before you do them.
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile) .if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)