Home | History | Annotate | Line # | Download | only in instfs
      1 #	$NetBSD: Makefile,v 1.9 2002/12/21 02:52:25 lukem Exp $
      2 #
      3 # instfs.tgz is the filesystem image for disk 2 of the floppy based
      4 # installation method.
      5 # It is constructed by tarring up the contents of the miniroot with
      6 # the exception of the kernel and boot program.
      7 #
      8 
      9 .include <bsd.own.mk>
     10 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
     11 
     12 IMAGETAR=		instfs.tgz
     13 IMAGETAR_RELEASEDIR=	installation/bootfs
     14 
     15 MINIROOTDIR!=	cd ${.CURDIR}/../../miniroot && ${PRINTOBJDIR}
     16 WORKDIR=	${MINIROOTDIR}/work
     17 WORKBUILT=	${MINIROOTDIR}/work.built
     18 WORKSPEC=	instfs.spec
     19 
     20 ${WORKSPEC}: ${MINIROOTDIR}/work.spec
     21 	-rm -f ${.TARGET} ${.TARGET}.tmp
     22 	egrep -v '^\./(netbsd|boot)($$|[ \t])' ${.ALLSRC} > ${.TARGET}.tmp \
     23 	&& mv ${.TARGET}.tmp ${.TARGET}
     24 
     25 CLEANFILES+=	${WORKSPEC} ${WORKSPEC}.tmp
     26 
     27 ${WORKBUILT}:
     28 	@echo "Need ../../miniroot built first"
     29 	@false
     30 
     31 .include "${DISTRIBDIR}/common/Makefile.image"
     32 
     33 .include <bsd.prog.mk>
     34