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