summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2012-09-03 18:17:21 +0000
committergjb <gjb@FreeBSD.org>2012-09-03 18:17:21 +0000
commita666e0ee7c298c82cc4db6a8dbcf3918314e5d8f (patch)
tree1abac942b8a661491fccc45a9adf679920c94184 /Makefile.inc1
parent0d3b3bd793cae3e37a044ffb49cfea560e7ca560 (diff)
downloadFreeBSD-src-a666e0ee7c298c82cc4db6a8dbcf3918314e5d8f.zip
FreeBSD-src-a666e0ee7c298c82cc4db6a8dbcf3918314e5d8f.tar.gz
Fix 'distributeworld' target when WITHOUT_GAMES is set.
Reviewed by: des Approved by: des MFC after: 3 days X-MFC-To: 9-only
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 17c2f5c..755418d 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -636,7 +636,10 @@ ITOOLS= [ awk cap_mkdb cat chflags chmod chown \
#
# Non-base distributions produced by the base system
-EXTRA_DISTRIBUTIONS= doc games
+EXTRA_DISTRIBUTIONS= doc
+.if ${MK_GAMES} != "no"
+EXTRA_DISTRIBUTIONS+= games
+.endif
.if defined(LIB32TMP) && ${MK_LIB32} != "no"
EXTRA_DISTRIBUTIONS+= lib32
.endif
OpenPOWER on IntegriCloud