Sync usage with man page.
[netbsd-mini2440.git] / distrib / sparc / instfs / Makefile
blob29446aee15a1f0efc0882ff38bf6e7cc2a95aa04
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
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.
9 .include <bsd.own.mk>
10 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
12 IMAGETAR= instfs.tgz
13 IMAGETAR_RELEASEDIR= installation/bootfs
15 MINIROOTDIR!= cd ${.CURDIR}/../../miniroot && ${PRINTOBJDIR}
16 WORKDIR= ${MINIROOTDIR}/work
17 WORKBUILT= ${MINIROOTDIR}/work.built
18 WORKSPEC= instfs.spec
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
27 ${WORKBUILT}:
28 @echo "Need ../../miniroot built first"
29 @false
31 .include "${DISTRIBDIR}/common/Makefile.image"
33 .include <bsd.prog.mk>