Sync usage with man page.
[netbsd-mini2440.git] / distrib / sparc64 / xminiroot / Makefile
blobead01d41ead44a5b35a042c0af3a5b89633fc9e1
1 # $NetBSD: Makefile,v 1.27 2009/04/03 22:36:35 perry Exp $
3 .include <bsd.own.mk>
4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
6 .include <bsd.kernobj.mk>
8 .include "${.CURDIR}/../instfs/Makefile.instfs"
9 IMAGE= miniroot.fs
10 IMAGESIZE= 9m
11 IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} \
12 ${DESTDIR}/usr/mdec/bootblk
13 IMAGE_RELEASEDIR= installation/miniroot
15 CRUNCHBINDIR!= cd ${INSTFSDIR} && ${PRINTOBJDIR}
16 LISTS+= ${.CURDIR}/list.miniroot
17 IMAGEDEPENDS+= netbsd.gz
19 ${CRUNCHBIN}: ${CRUNCHBINDIR}/${CRUNCHBIN}
20 mkdir -p sysinst
21 cp -p ${CRUNCHBINDIR}/sysinst/sysinstmsgs.* sysinst
22 cp ${.ALLSRC} ${.TARGET}
24 netbsd.gz: ${KERNOBJDIR}/GENERIC/netbsd
25 -rm -f ${.TARGET}
26 gzip -9nc ${.ALLSRC} > ${.TARGET}
28 clean: localclean
30 localclean:
31 rm -rf sysinst
33 CLEANFILES+= ${CRUNCHBIN} netbsd.gz
35 .include "${DISTRIBDIR}/common/Makefile.makedev"
36 .include "${DISTRIBDIR}/common/Makefile.image"
38 .include <bsd.prog.mk>