Home | History | Annotate | Line # | Download | only in instfs
Makefile revision 1.7
      1  1.7    lukem #	$NetBSD: Makefile,v 1.7 2002/03/25 01:58:57 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.1      mrg TOP=		${.CURDIR}/..
     10  1.1      mrg MINIROOT=	${.CURDIR}/../xminiroot
     11  1.1      mrg 
     12  1.1      mrg .include "${TOP}/Makefile.inc"
     13  1.6  thorpej .include <bsd.own.mk>
     14  1.1      mrg 
     15  1.5  thorpej MINIROOT_DIR!=	cd ${MINIROOT} && ${PRINTOBJDIR}
     16  1.2      mrg MINIROOT_IMAGE=	${MINIROOT_DIR}/miniroot.fs
     17  1.2      mrg MINIROOT_KERNEL=${MINIROOT_DIR}/netbsd.INSTALL
     18  1.1      mrg 
     19  1.4      mrg MOUNT_POINT?=	${MINIROOT_DIR}/mountpoint
     20  1.4      mrg INSTFS?=	instfs.tgz
     21  1.4      mrg 
     22  1.1      mrg all: ${INSTFS}
     23  1.1      mrg 
     24  1.1      mrg ${INSTFS}: ${MINIROOT_IMAGE}
     25  1.1      mrg 	(cd ${MOUNT_POINT}; \
     26  1.1      mrg 		tar -z -X ${.CURDIR}/exclude -c -f ${.OBJDIR}/${.TARGET} .)
     27  1.1      mrg 
     28  1.1      mrg clean cleandir distclean:
     29  1.1      mrg 	/bin/rm -f *.core ${INSTFS}
     30  1.1      mrg 
     31  1.7    lukem release: check_RELEASEDIR .WAIT ${INSTFS}
     32  1.1      mrg 	cp ${INSTFS} $(RELEASEDIR)/installation/misc
     33  1.2      mrg 	gzip -9 -c ${MINIROOT_KERNEL} > $(RELEASEDIR)/binary/kernel/netbsd.INSTALL.gz
     34  1.1      mrg 
     35  1.1      mrg .include <bsd.obj.mk>
     36  1.1      mrg .include <bsd.subdir.mk>
     37