NetBSD/distrib/sparc/instfs/Makefile

34 lines
919 B
Makefile
Raw Normal View History

2002-12-21 05:52:25 +03:00
# $NetBSD: Makefile,v 1.9 2002/12/21 02:52:25 lukem Exp $
#
# instfs.tgz is the filesystem image for disk 2 of the floppy based
# installation method.
# It is constructed by tarring up the contents of the miniroot with
2002-12-21 05:52:25 +03:00
# the exception of the kernel and boot program.
#
2002-03-06 00:16:51 +03:00
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
2002-05-09 15:12:48 +04:00
IMAGETAR= instfs.tgz
IMAGETAR_RELEASEDIR= installation/bootfs
2002-05-09 15:12:48 +04:00
MINIROOTDIR!= cd ${.CURDIR}/../../miniroot && ${PRINTOBJDIR}
WORKDIR= ${MINIROOTDIR}/work
WORKBUILT= ${MINIROOTDIR}/work.built
WORKSPEC= instfs.spec
2002-05-09 15:12:48 +04:00
${WORKSPEC}: ${MINIROOTDIR}/work.spec
-rm -f ${.TARGET} ${.TARGET}.tmp
egrep -v '^\./(netbsd|boot)($$|[ \t])' ${.ALLSRC} > ${.TARGET}.tmp \
&& mv ${.TARGET}.tmp ${.TARGET}
2002-05-09 15:12:48 +04:00
CLEANFILES+= ${WORKSPEC} ${WORKSPEC}.tmp
2002-05-09 15:12:48 +04:00
${WORKBUILT}:
@echo "Need ../../miniroot built first"
@false
2002-05-09 15:12:48 +04:00
.include "${DISTRIBDIR}/common/Makefile.image"
.include <bsd.prog.mk>