diff --git a/etc/etc.amd64/Makefile.inc b/etc/etc.amd64/Makefile.inc index ce494554b7af..b2d18558cb8f 100644 --- a/etc/etc.amd64/Makefile.inc +++ b/etc/etc.amd64/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.5 2006/06/02 22:35:22 hubertf Exp $ +# $NetBSD: Makefile.inc,v 1.6 2007/02/27 18:17:28 he Exp $ # # etc.amd64/Makefile.inc -- amd64-specific etc Makefile targets # @@ -9,10 +9,13 @@ BUILD_KERNELS= INSTALL INSTALL_ACPI INSTALLATION_DIRS+= installation/cdrom INSTALLATION_DIRS+= installation/floppy +INSTALLATION_DIRS+= installation/misc # mkisofs arguments to generate bootable iso image MKISOFS_FLAGS+= -b ${MACHINE}/installation/floppy/boot-big.fs snap_md_post: + cd ${KERNSRCDIR}/arch/i386/stand/pxeboot && ${MAKE} release ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/cdrom '*.iso' ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/floppy '*.fs' + ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/misc '*.*' diff --git a/etc/etc.i386/Makefile.inc b/etc/etc.i386/Makefile.inc index b9d7edb3ff61..2ce4d36d9051 100644 --- a/etc/etc.i386/Makefile.inc +++ b/etc/etc.i386/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.47 2006/11/19 11:21:19 dsl Exp $ +# $NetBSD: Makefile.inc,v 1.48 2007/02/27 18:17:28 he Exp $ # # etc.i386/Makefile.inc -- i386-specific etc Makefile targets # @@ -31,6 +31,7 @@ INSTALLATION_DIRS+= installation/floppy # i386 specific distrib stuff snap_md_post: cd ${KERNSRCDIR}/arch/i386/stand/dosboot && ${MAKE} release + cd ${KERNSRCDIR}/arch/i386/stand/pxeboot && ${MAKE} release cd ${KERNSRCDIR}/arch/i386/stand/misc && ${MAKE} release ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/cdrom '*.iso' ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/floppy '*.fs' diff --git a/sys/arch/i386/stand/pxeboot/Makefile b/sys/arch/i386/stand/pxeboot/Makefile index 9b4dab4ae3e9..f72a2a4cc532 100644 --- a/sys/arch/i386/stand/pxeboot/Makefile +++ b/sys/arch/i386/stand/pxeboot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/10/04 22:27:21 salo Exp $ +# $NetBSD: Makefile,v 1.14 2007/02/27 18:17:28 he Exp $ S= ${.CURDIR}/../../../../ @@ -76,3 +76,7 @@ VERSIONFILE= ${.CURDIR}/../pxeboot/version .endif .include "../Makefile.booters" + +release: check_RELEASEDIR + ${HOST_INSTALL_FILE} -m ${BINMODE} ${PROG} \ + ${RELEASEDIR}/${MACHINE}/installation/misc