From d0a05ae0335833b11e826c2e519ca21866291f30 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 8 Sep 1994 04:15:34 +0000 Subject: [PATCH] Woo, naughty! It just occurred to me that this guy wasn't using ${DESTDIR} - fixed. Submitted by: jkh --- games/phantasia/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile index d3dd6f7c807c..0c247c7aa795 100644 --- a/games/phantasia/Makefile +++ b/games/phantasia/Makefile @@ -14,11 +14,11 @@ setup: phantglobs.o setup.o monsters.asc ${LIBM} ${CC} phantglobs.o setup.o -o ${.TARGET} -lm beforeinstall: - @if [ ! -d /var/games/phantasia ]; then \ - mkdir -p /var/games/phantasia; \ + @if [ ! -d ${DESTDIR}/var/games/phantasia ]; then \ + mkdir -p ${DESTDIR}/var/games/phantasia; \ fi ./setup -m ${.CURDIR}/monsters.asc - chown games.bin /var/games/phantasia/* + chown games.bin ${DESTDIR}/var/games/phantasia/* # Make Phantasia map. Change the map commands reflect your installation. # PLOTDEVICE is used for plotting the map. Change as appropriate.