tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf
but is not in the environment.
This commit is contained in:
parent
76ee97dd88
commit
16a09f01ca
|
@ -1,6 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.28 1998/09/12 19:05:48 wrstuden Exp $
|
||||
# $NetBSD: Makefile,v 1.29 1998/12/06 09:06:45 dbj Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 4/27/95
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG= hack
|
||||
CPPFLAGS+=-I.
|
||||
SRCS+= hack.onames.h
|
||||
|
|
|
@ -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
|
||||
|
@ -24,7 +24,7 @@ setup.o: ${.CURDIR}/setup.c
|
|||
${HOST_COMPILE.c} ${.CURDIR}/setup.c
|
||||
|
||||
afterinstall:
|
||||
./setup -m ${.CURDIR}/monsters.asc
|
||||
DESTDIR=${DESTDIR} ./setup -m ${.CURDIR}/monsters.asc
|
||||
chown games:games ${DESTDIR}/var/games/phantasia/*
|
||||
|
||||
# Make Phantasia map. Change the map commands reflect your installation.
|
||||
|
|
Loading…
Reference in New Issue