Date: Sat, 14 Jan 1995 20:29:02 +0100 (MET) From: Remy.Card@masi.ibp.fr (Remy CARD) To: hackers@FreeBSD.org Subject: Patch for doc Makefiles Message-ID: <199501141929.UAA18899@ares.ibp.fr>
next in thread | raw e-mail | index | archive | help
Hi,
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.
Remy
*** share/doc/usd/30.rogue/Makefile.orig Sat Jan 14 19:33:27 1995
--- share/doc/usd/30.rogue/Makefile Sat Jan 14 19:43:39 1995
***************
*** 1,6 ****
--- 1,7 ----
# 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
***************
*** 8,10 ****
--- 9,25 ----
USE_TBL= yes
.include <bsd.doc.mk>
+ .else
+ depend:
+
+ obj:
+
+ all:
+
+ install:
+
+ clean:
+
+ cleandir:
+
+ .endif
*** share/doc/usd/31.trek/Makefile.orig Sat Jan 14 19:41:43 1995
--- share/doc/usd/31.trek/Makefile Sat Jan 14 19:43:13 1995
***************
*** 1,6 ****
--- 1,7 ----
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $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,10 ****
--- 9,25 ----
USE_TBL= yes
.include <bsd.doc.mk>
+ .else
+ depend:
+
+ obj:
+
+ all:
+
+ install:
+
+ clean:
+
+ cleandir:
+
+ .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501141929.UAA18899>
