1 # $NetBSD: Makefile,v 1.8 2002/05/09 11:12:48 lukem Exp $
3 # instfs.tgz is the filesystem image for disk 2 of the floppy based
5 # It is constructed by tarring up the contents of the miniroot with
6 # the exception of the kernel and boot program.
10 .
include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
13 IMAGETAR_RELEASEDIR
= installation
/bootfs
15 MINIROOTDIR
!= cd
${.CURDIR
}/..
/..
/miniroot
&& ${PRINTOBJDIR}
16 WORKDIR
= ${MINIROOTDIR}/work
17 WORKBUILT
= ${MINIROOTDIR}/work.built
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
}
25 CLEANFILES
+= ${WORKSPEC} ${WORKSPEC}.tmp
28 @echo
"Need ../../miniroot built first"
31 .
include "${DISTRIBDIR}/common/Makefile.image"
33 .
include <bsd.prog.mk
>