Home | History | Annotate | Line # | Download | only in installcd
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2008/11/21 15:49:51 ad 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 
     10 CDBASE=		i386cd			# gives ${CDBASE}.iso
     11 CDRELEASE=	true                    # include $RELEASEDIR/$MACHINE
     12 CDBUILDEXTRA+=	boot.cfg		# Add boot.cfg file
     13 CLEANFILES+=	boot.cfg
     14 SYSINSTDIR!=	cd ${.CURDIR}/../../../utils/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
     15 
     16 prepare_md_post:
     17 	${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg
     18 
     19 image_md_pre:
     20 	${CP} ${.CURDIR}/../../ramdisks/common/dot.profile cdrom/etc/rc
     21 	${MKDIR} cdrom/mnt2 cdrom/targetroot
     22 	${CP} ${SYSINSTDIR}/sysinst cdrom
     23 	${CHMOD} ugo+rx cdrom/sysinst
     24 	${CP} ${SYSINSTDIR}/sysinstmsgs.?? cdrom
     25 
     26 .include "${.CURDIR}/../../../common/Makefile.bootcd"
     27