don't use ${OBJDIR}, using just 'install.sub' in IMAGEDEPENDS should work fine

add install.sub to CLEANFILES
This commit is contained in:
jdolecek 2002-05-07 09:14:15 +00:00
parent cf76f4876d
commit 8b49ffb90d

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2002/05/02 18:02:57 lukem Exp $
# $NetBSD: Makefile,v 1.11 2002/05/07 09:14:15 jdolecek Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@ -61,15 +61,17 @@ IMAGEDEPENDS= ${KERNEL} \
${DESTDIR}/usr/sbin/rdate \
${DISTRIBDIR}/miniroot/install.sh \
${DISTRIBDIR}/miniroot/upgrade.sh \
${OBJDIR}/install.sub
install.sub
IMAGEPOSTBUILD= ${INSTALLBOOT} -m ${MACHINE} -v ${IMAGE} \
${DESTDIR}/usr/mdec/bootxx /ufsboot
IMAGE_RELEASEDIR= installation/miniroot
install.sub : ${DISTRIBDIR}/miniroot/install.sub
install.sub: ${DISTRIBDIR}/miniroot/install.sub
sed -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
CLEANFILES+= install.sub
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"