From d68e1460c08991f16b1e6d06efdea65ac4adcd2d Mon Sep 17 00:00:00 2001 From: dbj Date: Sun, 6 Dec 1998 09:06:45 +0000 Subject: tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf but is not in the environment. --- phantasia/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phantasia/Makefile') 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. -- cgit v1.2.3-56-ge451