Makefile revision 1.8
11.8Slukem# $NetBSD: Makefile,v 1.8 2002/05/02 18:02:55 lukem Exp $ 21.1Smrg# 31.1Smrg# instfs.tgz is the filesystem image for disk 2 of the floppy based 41.1Smrg# installation method. 51.1Smrg# It is constructed by tarring up the contents of the miniroot with 61.1Smrg# the exeption of the kernel and boot program. 71.1Smrg# 81.1Smrg 91.8Slukem.include <bsd.own.mk> 101.8Slukem.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 111.8Slukem 121.1SmrgTOP= ${.CURDIR}/.. 131.1SmrgMINIROOT= ${.CURDIR}/../xminiroot 141.1Smrg 151.1Smrg.include "${TOP}/Makefile.inc" 161.1Smrg 171.5SthorpejMINIROOT_DIR!= cd ${MINIROOT} && ${PRINTOBJDIR} 181.2SmrgMINIROOT_IMAGE= ${MINIROOT_DIR}/miniroot.fs 191.2SmrgMINIROOT_KERNEL=${MINIROOT_DIR}/netbsd.INSTALL 201.1Smrg 211.4SmrgMOUNT_POINT?= ${MINIROOT_DIR}/mountpoint 221.4SmrgINSTFS?= instfs.tgz 231.4Smrg 241.1Smrgall: ${INSTFS} 251.1Smrg 261.1Smrg${INSTFS}: ${MINIROOT_IMAGE} 271.1Smrg (cd ${MOUNT_POINT}; \ 281.1Smrg tar -z -X ${.CURDIR}/exclude -c -f ${.OBJDIR}/${.TARGET} .) 291.1Smrg 301.1Smrgclean cleandir distclean: 311.1Smrg /bin/rm -f *.core ${INSTFS} 321.1Smrg 331.8Slukemrelease: check_RELEASEDIR .WAIT ${INSTFS} ${MINIROOT_KERNEL} 341.8Slukem ${RELEASE_INSTALL} ${INSTFS} $(RELEASEDIR)/installation/misc 351.2Smrg gzip -9 -c ${MINIROOT_KERNEL} > $(RELEASEDIR)/binary/kernel/netbsd.INSTALL.gz 361.1Smrg 371.8Slukem.include <bsd.prog.mk> 38