From 668b42176e0882c354ad9a7fdfd343df5bfa0197 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 20 May 2002 07:20:20 +0000 Subject: [PATCH] Check that src/games exists in a less error-prone way. PR: misc/38292 --- share/doc/usd/30.rogue/Makefile | 4 ---- share/doc/usd/31.trek/Makefile | 4 ---- share/doc/usd/Makefile | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/share/doc/usd/30.rogue/Makefile b/share/doc/usd/30.rogue/Makefile index cd8c0efe08e..2e886cc21c6 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 -.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 d3945238d7d..7f2bcd66d90 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 -.else -all clean cleandepend cleandir depend distribute install obj: -.endif diff --git a/share/doc/usd/Makefile b/share/doc/usd/Makefile index 9f5d8784e60..027937ad758 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