diff options
author | jkh <jkh@FreeBSD.org> | 1995-01-14 19:55:40 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-01-14 19:55:40 +0000 |
commit | a552213e444c5fd871dcb1727f949dda5b1910cb (patch) | |
tree | ffb074f9f1941f0aa1e7ea18ddbdba0e46ea5013 | |
parent | 1b5946f2672391c10e7d2868d30e527f5a938f25 (diff) | |
download | FreeBSD-src-a552213e444c5fd871dcb1727f949dda5b1910cb.zip FreeBSD-src-a552213e444c5fd871dcb1727f949dda5b1910cb.tar.gz |
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>
-rw-r--r-- | share/doc/usd/30.rogue/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/share/doc/usd/30.rogue/Makefile b/share/doc/usd/30.rogue/Makefile index d3f56aa..97e55b5 100644 --- a/share/doc/usd/30.rogue/Makefile +++ b/share/doc/usd/30.rogue/Makefile @@ -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 |