diff options
author | obrien <obrien@FreeBSD.org> | 1998-10-18 09:49:02 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-10-18 09:49:02 +0000 |
commit | 13142cebdc044d516d91c1b8ce75950366ac8cea (patch) | |
tree | 23a5a556ebfaae48a27761f57de8c6102045cdcc /games | |
parent | b7b8620d00589014c0bd41b0017e3c843b0180aa (diff) | |
download | FreeBSD-src-13142cebdc044d516d91c1b8ce75950366ac8cea.zip FreeBSD-src-13142cebdc044d516d91c1b8ce75950366ac8cea.tar.gz |
Allow ``make BINDIR=/foo/games'' to work.
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile.inc | 7 | ||||
-rw-r--r-- | games/fortune/Makefile.inc | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/games/Makefile.inc b/games/Makefile.inc index acf28b7..40a87cb 100644 --- a/games/Makefile.inc +++ b/games/Makefile.inc @@ -1,9 +1,10 @@ # @(#)Makefile.inc 8.1 (Berkeley) 5/31/93 BINGRP= games +BINDIR?= /usr/games + .if defined(HIDEGAME) -BINDIR?= /usr/games/hide +GBINDIR:= ${BINDIR} +BINDIR:= ${BINDIR}/hide BINMODE= 550 -.else -BINDIR= /usr/games .endif diff --git a/games/fortune/Makefile.inc b/games/fortune/Makefile.inc new file mode 100644 index 0000000..63751fb --- /dev/null +++ b/games/fortune/Makefile.inc @@ -0,0 +1,3 @@ +.if exists(${.CURDIR}/../../Makefile.inc) +.include "${.CURDIR}/../../Makefile.inc" +.endif |