From 10d2255f3b0b76ccb94f7cb21bc2c83671009ee9 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Mon, 3 Sep 2012 18:17:21 +0000 Subject: [PATCH] Fix 'distributeworld' target when WITHOUT_GAMES is set. Reviewed by: des Approved by: des MFC after: 3 days X-MFC-To: 9-only --- Makefile.inc1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 17c2f5ce0fa6..755418d90cfb 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