Home | History | Annotate | Line # | Download | only in instfs
Makefile revision 1.8
      1  1.8    lukem #	$NetBSD: Makefile,v 1.8 2002/05/02 18:02:55 lukem Exp $
      2  1.1      mrg #
      3  1.1      mrg # instfs.tgz is the filesystem image for disk 2 of the floppy based
      4  1.1      mrg # installation method.
      5  1.1      mrg # It is constructed by tarring up the contents of the miniroot with
      6  1.1      mrg # the exeption of the kernel and boot program.
      7  1.1      mrg #
      8  1.1      mrg 
      9  1.8    lukem .include <bsd.own.mk>
     10  1.8    lukem .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
     11  1.8    lukem 
     12  1.1      mrg TOP=		${.CURDIR}/..
     13  1.1      mrg MINIROOT=	${.CURDIR}/../xminiroot
     14  1.1      mrg 
     15  1.1      mrg .include "${TOP}/Makefile.inc"
     16  1.1      mrg 
     17  1.5  thorpej MINIROOT_DIR!=	cd ${MINIROOT} && ${PRINTOBJDIR}
     18  1.2      mrg MINIROOT_IMAGE=	${MINIROOT_DIR}/miniroot.fs
     19  1.2      mrg MINIROOT_KERNEL=${MINIROOT_DIR}/netbsd.INSTALL
     20  1.1      mrg 
     21  1.4      mrg MOUNT_POINT?=	${MINIROOT_DIR}/mountpoint
     22  1.4      mrg INSTFS?=	instfs.tgz
     23  1.4      mrg 
     24  1.1      mrg all: ${INSTFS}
     25  1.1      mrg 
     26  1.1      mrg ${INSTFS}: ${MINIROOT_IMAGE}
     27  1.1      mrg 	(cd ${MOUNT_POINT}; \
     28  1.1      mrg 		tar -z -X ${.CURDIR}/exclude -c -f ${.OBJDIR}/${.TARGET} .)
     29  1.1      mrg 
     30  1.1      mrg clean cleandir distclean:
     31  1.1      mrg 	/bin/rm -f *.core ${INSTFS}
     32  1.1      mrg 
     33  1.8    lukem release: check_RELEASEDIR .WAIT ${INSTFS} ${MINIROOT_KERNEL}
     34  1.8    lukem 	${RELEASE_INSTALL} ${INSTFS} $(RELEASEDIR)/installation/misc
     35  1.2      mrg 	gzip -9 -c ${MINIROOT_KERNEL} > $(RELEASEDIR)/binary/kernel/netbsd.INSTALL.gz
     36  1.1      mrg 
     37  1.8    lukem .include <bsd.prog.mk>
     38