NetBSD/etc/etc.cats/Makefile.inc
skrll 16d1e38bf6 No need for an installation/misc directory.
Add hooks for iso image creation.
2002-06-28 12:40:10 +00:00

27 lines
736 B
Makefile

# $NetBSD: Makefile.inc,v 1.8 2002/06/28 12:40:10 skrll Exp $
#
# etc.cats/Makefile.inc -- cats-specific etc Makefile targets
#
KERNEL_SETS= GENERIC
KERNEL_SUFFIXES= aout
BUILD_KERNELS= INSTALL
INSTALLATION_DIRS+= installation/kernel
# Build the release notes and boot floppies and install them
snap_md_post:
.ifndef UPDATE
cd ${.CURDIR}/../distrib && ${MAKE} cleandir
.endif
cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
cd ${.CURDIR}/../distrib/cats && ${MAKE} release
cd ${.CURDIR}/../distrib/notes && ${MAKE} release
${MAKESUMS} -t ${RELEASEDIR}/installation/kernel '*.gz'
iso-image_md_pre:
cp -f ${RELEASEDIR}/binary/kernel/netbsd.aout-INSTALL.gz \
${RELEASEDIR}/netbsd.gz
gunzip ${RELEASEDIR}/netbsd.gz