xref: /netbsd-src/distrib/amd64/cdroms/installcd/Makefile (revision 325dc460fcb903ba21d515d6422d8abf39bc692e)
1#	$NetBSD: Makefile,v 1.6 2019/09/23 13:42:30 christos Exp $
2#
3
4# Install CD, to be made after 'build.sh release'
5# Requires populated $RELEASEDIR/${MACHINE}
6
7.include <bsd.own.mk>
8.include "${.CURDIR}/../Makefile.cdrom"
9
10CDBASE=		amd64cd			# gives ${CDBASE}.iso
11CDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
12CDRELEASE_NODEBUG=	true
13CDBUILDEXTRA=	boot.cfg		# Add boot.cfg file
14CLEANFILES+=	boot.cfg
15
16prepare_md_post:
17	${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" \
18		< ${.CURDIR}/boot.cfg.in > boot.cfg
19
20.include "${.CURDIR}/../../../common/Makefile.bootcd"
21