summaryrefslogtreecommitdiffstats
path: root/phantasia/Makefile
diff options
context:
space:
mode:
authorcjs <cjs@NetBSD.org>1997-05-26 03:55:19 +0000
committercjs <cjs@NetBSD.org>1997-05-26 03:55:19 +0000
commit19fa9d538035fb3c3fe9a09394cf3a54425d3fef (patch)
treeaa4f6a27e931207920a01cd353c36a16bab763c9 /phantasia/Makefile
parentaeb2bbdf28ae68f7765ea57ba4da24cb9ed1483e (diff)
downloadbsdgames-darwin-19fa9d538035fb3c3fe9a09394cf3a54425d3fef.tar.gz
bsdgames-darwin-19fa9d538035fb3c3fe9a09394cf3a54425d3fef.tar.zst
bsdgames-darwin-19fa9d538035fb3c3fe9a09394cf3a54425d3fef.zip
These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree, while maintaining backward compatability with other build methods. See the notes in src/share/mk/bsd.README for full details. Note that the `make includes' target now only installs the include files in the build directory (if you use one--otherwise they go in DESTDIR just like before); `make install' will install include files in DESTDIR.
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 95fd38cb..5735b34e 100644
--- a/phantasia/Makefile
+++ b/phantasia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1997/05/09 16:51:41 mycroft Exp $
+# $NetBSD: Makefile,v 1.8 1997/05/26 03:55:49 cjs Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= phantasia
@@ -20,8 +20,8 @@ host_phantglobs.o: ${.CURDIR}/phantglobs.c
setup.o: ${.CURDIR}/setup.c
${HOST_COMPILE.c} ${.CURDIR}/setup.c
-afterinstall:
- ./setup -m ${.CURDIR}/monsters.asc
+beforeinstall:
+ DESTDIR=${DESTDIR} ./setup -m ${.CURDIR}/monsters.asc
chown games:bin ${DESTDIR}/var/games/phantasia/*
# Make Phantasia map. Change the map commands reflect your installation.