don't use ${OBJDIR}, using just 'install.sub' in IMAGEDEPENDS should work fine
add install.sub to CLEANFILES
This commit is contained in:
parent
cf76f4876d
commit
8b49ffb90d
|
@ -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 <bsd.own.mk>
|
||||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||||
|
@ -61,15 +61,17 @@ IMAGEDEPENDS= ${KERNEL} \
|
||||||
${DESTDIR}/usr/sbin/rdate \
|
${DESTDIR}/usr/sbin/rdate \
|
||||||
${DISTRIBDIR}/miniroot/install.sh \
|
${DISTRIBDIR}/miniroot/install.sh \
|
||||||
${DISTRIBDIR}/miniroot/upgrade.sh \
|
${DISTRIBDIR}/miniroot/upgrade.sh \
|
||||||
${OBJDIR}/install.sub
|
install.sub
|
||||||
|
|
||||||
IMAGEPOSTBUILD= ${INSTALLBOOT} -m ${MACHINE} -v ${IMAGE} \
|
IMAGEPOSTBUILD= ${INSTALLBOOT} -m ${MACHINE} -v ${IMAGE} \
|
||||||
${DESTDIR}/usr/mdec/bootxx /ufsboot
|
${DESTDIR}/usr/mdec/bootxx /ufsboot
|
||||||
IMAGE_RELEASEDIR= installation/miniroot
|
IMAGE_RELEASEDIR= installation/miniroot
|
||||||
|
|
||||||
install.sub : ${DISTRIBDIR}/miniroot/install.sub
|
install.sub: ${DISTRIBDIR}/miniroot/install.sub
|
||||||
sed -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
|
sed -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
|
||||||
|
|
||||||
|
CLEANFILES+= install.sub
|
||||||
|
|
||||||
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
||||||
.include "${DISTRIBDIR}/common/Makefile.image"
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue