diff --git a/distrib/x68k/floppies/bootfloppy.generic/Makefile b/distrib/x68k/floppies/bootfloppy.generic/Makefile index e4e10eb362e1..87e686cdd544 100644 --- a/distrib/x68k/floppies/bootfloppy.generic/Makefile +++ b/distrib/x68k/floppies/bootfloppy.generic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2002/05/19 08:12:05 isaki Exp $ +# $NetBSD: Makefile,v 1.6 2002/08/18 14:43:00 isaki Exp $ .include .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" @@ -14,17 +14,22 @@ FLOPPYSUFFIX= .fs FLOPPY_RELEASEDIR= installation/floppy MDEC= ${DESTDIR}/usr/mdec -KERNOBJ!= cd ${.CURDIR}/../instkernel && ${PRINTOBJDIR} -FLOPPY_NETBSD= ${KERNOBJDIR}/GENERIC/netbsd +FLOPPY_NETBSD= netbsd.gz # XXXDISTRIB: use MI installboot FLOPPYINSTBOOT=\ "dd if=${MDEC}/fdboot_ustar of=@IMAGE@ bs=8k count=1 conv=sync,notrunc" +CLEANFILES+= ${BOOTNAME} netbsd.gz + ${BOOTNAME}: ${MDEC}/boot @echo "Copying ${.ALLSRC} to ${.TARGET}" @rm -f ${.TARGET} @cp ${.ALLSRC} ${.TARGET} +netbsd.gz: ${KERNOBJDIR}/GENERIC/netbsd + @rm -f ${.TARGET} + gzip -9c ${.ALLSRC} > ${.TARGET} + .include "${DISTRIBDIR}/common/Makefile.tarfloppy" .include