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.
This commit is contained in:
Jordan K. Hubbard 1995-01-14 19:56:16 +00:00
parent 7f272b53a0
commit b6cc3bfac6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5610

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:22 wollman Exp $
.if exists(${.CURDIR}/../../../../games)
VOLUME= usd/31.trek
SRCS= trek.me
MACROS= -me
@ -8,3 +9,17 @@ SRCDIR= ${.CURDIR}/../../../../games/trek/USD.doc
USE_TBL= yes
.include <bsd.doc.mk>
.else
depend:
obj:
all:
install:
clean:
cleandir:
.endif