From a563cdb5be3b49230df8e072710a5ac6dbe7edd8 Mon Sep 17 00:00:00 2001
From: dd
Date: Thu, 9 Aug 2001 06:59:16 +0000
Subject: Don't build/install game-related documents when building with
NOGAMES. This fixes buildworld when src/games doesn't exist (this may not be
"officially" supported, but there's no sense in making it harder for somebody
that wants to do it).
PR: 29162
Submitted by: Stewart Morgan
---
share/doc/usd/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'share/doc')
diff --git a/share/doc/usd/Makefile b/share/doc/usd/Makefile
index 5424e86..d82479b 100644
--- a/share/doc/usd/Makefile
+++ b/share/doc/usd/Makefile
@@ -10,6 +10,10 @@
# 14.jove
SUBDIR= title contents 04.csh 07.mail 10.exref 11.vitut 12.vi 13.viref \
- 18.msdiffs 19.memacros 20.meref 30.rogue 31.trek
+ 18.msdiffs 19.memacros 20.meref
+
+.if !defined(NOGAMES)
+SUBDIR+=30.rogue 31.trek
+.endif
.include
--
cgit v1.1