summaryrefslogtreecommitdiffstats
path: root/phantasia/Makefile
diff options
context:
space:
mode:
authordbj <dbj@NetBSD.org>1998-12-06 09:06:45 +0000
committerdbj <dbj@NetBSD.org>1998-12-06 09:06:45 +0000
commitd68e1460c08991f16b1e6d06efdea65ac4adcd2d (patch)
treed21a1808c3de58d8d08b29ae9a707751483b242b /phantasia/Makefile
parent5795cb4ef393900b7040fe55955e268c839016ff (diff)
downloadbsdgames-darwin-d68e1460c08991f16b1e6d06efdea65ac4adcd2d.tar.gz
bsdgames-darwin-d68e1460c08991f16b1e6d06efdea65ac4adcd2d.tar.zst
bsdgames-darwin-d68e1460c08991f16b1e6d06efdea65ac4adcd2d.zip
tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf
but is not in the environment.
Diffstat (limited to 'phantasia/Makefile')
-rw-r--r--phantasia/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/phantasia/Makefile b/phantasia/Makefile
index 9f7db6fa..25b344a8 100644
--- a/phantasia/Makefile
+++ b/phantasia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1998/02/18 22:37:32 jtc Exp $
+# $NetBSD: Makefile,v 1.17 1998/12/06 09:06:46 dbj Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= phantasia
@@ -23,8 +23,8 @@ host_phantglobs.o: ${.CURDIR}/phantglobs.c
setup.o: ${.CURDIR}/setup.c
${HOST_COMPILE.c} ${.CURDIR}/setup.c
-afterinstall:
- ./setup -m ${.CURDIR}/monsters.asc
+afterinstall:
+ DESTDIR=${DESTDIR} ./setup -m ${.CURDIR}/monsters.asc
chown games:games ${DESTDIR}/var/games/phantasia/*
# Make Phantasia map. Change the map commands reflect your installation.