use check_RELEASEDIR

This commit is contained in:
lukem 2002-03-31 06:44:12 +00:00
parent cf8b4530ef
commit fad8efc940

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2002/02/09 13:56:50 lukem Exp $
# $NetBSD: Makefile,v 1.10 2002/03/31 06:44:12 lukem Exp $
.include <bsd.own.mk> # Use /etc/mk.conf.
@ -9,17 +9,11 @@ SUBDIR= floppies
.include <bsd.subdir.mk>
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
BOOTFLOPOBJ != cd ${.CURDIR}/floppies/bootfloppy && ${PRINTOBJDIR}
BOOTOBJ != cd ${.CURDIR}/../../sys/arch/macppc/stand/ofwboot && ${PRINTOBJDIR}
release:
release: check_RELEASEDIR
${IINST} ${BOOTOBJ}/ofwboot.elf ${ITARGET}/
${IINST} ${BOOTOBJ}/ofwboot.xcf ${ITARGET}/
${IINST} ${BOOTFLOPOBJ}/boot.fs ${ITARGET}/
cd ${.CURDIR}/floppies/md-kernel && ${MAKE} release
.endif