aboutsummaryrefslogtreecommitdiff
path: root/games/Makefile.inc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-10-18 09:49:02 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-10-18 09:49:02 +0000
commitb73dccf9944b440eb85a35acc454d36b47a92481 (patch)
tree086d14248084d66ae58deb871387244015b4f111 /games/Makefile.inc
parent7b81086b1337e7e0fa6a7faf37518023047bdb18 (diff)
downloadsrc-b73dccf9944b440eb85a35acc454d36b47a92481.tar.gz
src-b73dccf9944b440eb85a35acc454d36b47a92481.zip
Allow ``make BINDIR=/foo/games'' to work.
Notes
Notes: svn path=/head/; revision=40506
Diffstat (limited to 'games/Makefile.inc')
-rw-r--r--games/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/Makefile.inc b/games/Makefile.inc
index acf28b792e43..40a87cb917fd 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