7f272b53a0
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>
26 lines
336 B
Makefile
26 lines
336 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
# $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
|
|
SRCDIR= ${.CURDIR}/../../../../games/rogue/USD.doc
|
|
USE_TBL= yes
|
|
|
|
.include <bsd.doc.mk>
|
|
.else
|
|
depend:
|
|
|
|
obj:
|
|
|
|
all:
|
|
|
|
install:
|
|
|
|
clean:
|
|
|
|
cleandir:
|
|
|
|
.endif
|