Add ${IMAGE}.gz to dependency list of release:: target as well as the one

in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.

XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
This commit is contained in:
tsutsui 2008-09-19 17:23:32 +00:00
parent 56f85b37f1
commit 4154691ca5
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.65 2008/06/23 02:16:54 matt Exp $
# $NetBSD: Makefile,v 1.66 2008/09/19 17:23:32 tsutsui Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@ -37,7 +37,7 @@ ${CRUNCHBIN}: libhack.o
.endif
.include "${DISTRIBDIR}/common/Makefile.image"
release:: check_RELEASEDIR .WAIT
release:: check_RELEASEDIR .WAIT ${IMAGE}.gz
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${IMAGE_RELEASEDIR} ${IMAGE}.gz
.include <bsd.prog.mk>