summaryrefslogtreecommitdiffstats
path: root/share/doc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-20 07:20:20 +0000
committerru <ru@FreeBSD.org>2002-05-20 07:20:20 +0000
commit467eed750b73f87c292ca4952193e462cd4d2329 (patch)
tree274636472bdc58c51b2a35991fb90c060fcaf711 /share/doc
parente5bc175e13a93c0f54a2855cef1600ea243503b2 (diff)
downloadFreeBSD-src-467eed750b73f87c292ca4952193e462cd4d2329.zip
FreeBSD-src-467eed750b73f87c292ca4952193e462cd4d2329.tar.gz
Check that src/games exists in a less error-prone way.
PR: misc/38292
Diffstat (limited to 'share/doc')
-rw-r--r--share/doc/usd/30.rogue/Makefile4
-rw-r--r--share/doc/usd/31.trek/Makefile4
-rw-r--r--share/doc/usd/Makefile2
3 files changed, 1 insertions, 9 deletions
diff --git a/share/doc/usd/30.rogue/Makefile b/share/doc/usd/30.rogue/Makefile
index cd8c0ef..2e886cc 100644
--- a/share/doc/usd/30.rogue/Makefile
+++ b/share/doc/usd/30.rogue/Makefile
@@ -1,7 +1,6 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $FreeBSD$
-.if exists(${.CURDIR}/../../../../games)
VOLUME= usd/30.rogue
SRCS= rogue.me
MACROS= -me
@@ -9,6 +8,3 @@ SRCDIR= ${.CURDIR}/../../../../games/rogue/USD.doc
USE_TBL= yes
.include <bsd.doc.mk>
-.else
-all clean cleandepend cleandir depend distribute install obj:
-.endif
diff --git a/share/doc/usd/31.trek/Makefile b/share/doc/usd/31.trek/Makefile
index d394523..7f2bcd6 100644
--- a/share/doc/usd/31.trek/Makefile
+++ b/share/doc/usd/31.trek/Makefile
@@ -1,7 +1,6 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $FreeBSD$
-.if exists(${.CURDIR}/../../../../games)
VOLUME= usd/31.trek
SRCS= trek.me
MACROS= -me
@@ -9,6 +8,3 @@ SRCDIR= ${.CURDIR}/../../../../games/trek/USD.doc
USE_TBL= yes
.include <bsd.doc.mk>
-.else
-all clean cleandepend cleandir depend distribute install obj:
-.endif
diff --git a/share/doc/usd/Makefile b/share/doc/usd/Makefile
index 9f5d878..027937a 100644
--- a/share/doc/usd/Makefile
+++ b/share/doc/usd/Makefile
@@ -7,7 +7,7 @@
SUBDIR= title contents 04.csh 07.mail 10.exref 11.vitut 12.vi 13.viref \
18.msdiffs 19.memacros 20.meref 22.trofftut
-.if !defined(NOGAMES)
+.if exists(${.CURDIR}/../../../games) && !defined(NOGAMES)
SUBDIR+=30.rogue 31.trek
.endif
OpenPOWER on IntegriCloud