From b6cc3bfac6c2c7ea0d8a20ad9fc422c8ee744923 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sat, 14 Jan 1995 19:56:16 +0000 Subject: [PATCH] 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. --- share/doc/usd/31.trek/Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/share/doc/usd/31.trek/Makefile b/share/doc/usd/31.trek/Makefile index 991fc581c68..d8fe835d891 100644 --- a/share/doc/usd/31.trek/Makefile +++ b/share/doc/usd/31.trek/Makefile @@ -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 +.else +depend: + +obj: + +all: + +install: + +clean: + +cleandir: + +.endif