If building a source only cd don't include shared/ALL

This commit is contained in:
jmc 2005-01-20 08:05:55 +00:00
parent 6e880ae78b
commit 86c3a374e9

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2004/12/31 08:34:13 jmc Exp $ # $NetBSD: Makefile,v 1.24 2005/01/20 08:05:55 jmc Exp $
# #
# Consult "*.conf" for the configuration variables; this Makefile is typically # Consult "*.conf" for the configuration variables; this Makefile is typically
# not edited for basic configuration changes. # not edited for basic configuration changes.
@ -192,7 +192,10 @@ INTFILES.${image}?=
INTDIRS.${image}?= INTDIRS.${image}?=
ADDFILES.${image}?= ADDFILES.${image}?=
# For a source only cd just ignore the shared/ALL directory
.if ${ports} != "source"
bports= shared/ALL bports= shared/ALL
.endif
.for port in ${ports} # { .for port in ${ports} # {
EXTFILES+= ${EXTFILES.${port}} EXTFILES+= ${EXTFILES.${port}}
INTFILES.${image}+= ${INTFILES.${port}} INTFILES.${image}+= ${INTFILES.${port}}