- use ${_SRC_TOP_} instead of ${CURDIR}/../../../ [../../]

- fix IMAGEDEPENDS; it should contain at least all the COPY items from list
This commit is contained in:
lukem 2002-03-24 22:44:21 +00:00
parent e90cd48a1b
commit 50070328cc
2 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2002/03/24 18:08:19 scw Exp $
# $NetBSD: Makefile,v 1.16 2002/03/24 22:44:21 lukem Exp $
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.own.mk>
@ -14,9 +14,10 @@ MTREECONF= ${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN= be
MAKEDEVTARGETS= std md0 sd0 sd1 sd2 st0 cd0
IMAGEDEPENDS= ${CRUNCHBIN} \
${DESTDIR}/usr/mdec/bootxx \
${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
dot.profile rd.fstab rd.passwd rd.welcome \
${DESTDIR}/usr/mdec/bootsd ${DESTDIR}/usr/mdec/bootst \
${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/usr/mdec/stboot \
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
${_SRC_TOP_}/etc/services

View File

@ -1,4 +1,4 @@
# $NetBSD: list,v 1.6 2002/03/24 18:08:20 scw Exp $
# $NetBSD: list,v 1.7 2002/03/24 22:44:21 lukem Exp $
SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin
@ -49,10 +49,10 @@ LIBS libhack.o -lutil -lz -ll -lrmt
# various files that we need in /etc for the install
COPY ${CURDIR}/rd.fstab etc/fstab
COPY ${CURDIR}/../../../etc/netconfig etc/netconfig
COPY ${_SRC_TOP_}/etc/netconfig etc/netconfig
COPY ${CURDIR}/rd.passwd etc/passwd
COPY ${CURDIR}/../../../etc/protocols etc/protocols
COPY ${CURDIR}/../../../etc/services etc/services
COPY ${_SRC_TOP_}/etc/protocols etc/protocols
COPY ${_SRC_TOP_}/etc/services etc/services
COPY ${DESTDIR}/usr/mdec/bootsd bootsd
COPY ${DESTDIR}/usr/mdec/bootst bootst
COPY ${DESTDIR}/usr/mdec/bootxx bootxx