The enclosed patch fixes the Makefile contained in

share/doc/usd/{30.rogue,31.trek}: make fails if the games source
tree is not present (see the mail that I have sent yesterday).

        This patch makes the Makefiles test if the games source
tree is present.  If it is not present, the Makefiles default to
no operation.

[Note:  I'm not sure if the Makefile changes might not be collapsable into
a shorter format, but I'll just leave it this way for now and be safe -jkh]

Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
This commit is contained in:
Jordan K. Hubbard 1995-01-14 19:55:40 +00:00
parent 314bc6245e
commit 7f272b53a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5609

View file

@ -1,6 +1,7 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $Id$
# $Id: Makefile,v 1.1 1995/01/11 03:24:21 wollman Exp $
.if exists(${.CURDIR}/../../../../games)
DIR= usd/30.rogue
SRCS= rogue.me
MACROS= -me
@ -8,3 +9,17 @@ SRCDIR= ${.CURDIR}/../../../../games/rogue/USD.doc
USE_TBL= yes
.include <bsd.doc.mk>
.else
depend:
obj:
all:
install:
clean:
cleandir:
.endif