Check that src/games exists in a less error-prone way.

PR:		misc/38292
This commit is contained in:
Ruslan Ermilov 2002-05-20 07:20:20 +00:00
parent a79a73ab1b
commit 668b42176e
3 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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