From 238972e7418f495dc10c7a1f6346756b33f320c4 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 8 Jun 2000 17:39:44 +0000 Subject: [PATCH] Add make release support so automake snapshots --- distrib/macppc/Makefile | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/distrib/macppc/Makefile b/distrib/macppc/Makefile index 825735dc4081..d916d2850b36 100644 --- a/distrib/macppc/Makefile +++ b/distrib/macppc/Makefile @@ -1,7 +1,26 @@ -# $NetBSD: Makefile,v 1.1 2000/06/06 21:00:31 matt Exp $ +# $NetBSD: Makefile,v 1.2 2000/06/08 17:39:44 matt Exp $ + +# $NetBSD: Makefile,v 1.2 2000/06/08 17:39:44 matt Exp $ + +.include # Use /etc/mk.conf. + +ITARGET= ${RELEASEDIR}/installation +IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \ + -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} SUBDIR= floppies -TARGETS+=release - .include + +.ifndef RELEASEDIR +release: + @echo setenv RELEASEDIR first + @false +.else +INSTKERNOBJ != cd floppies/bootfloppy; make print-objdir +BOOTOBJ != cd ${.CURDIR}/../../sys/arch/macppc/stand/ofwboot; make print-objdir + +release: + ${IINST} ${BOOTOBJ}/ofwboot.elf ${ITARGET}/ + ${IINST} ${INSTKERNOBJ}/netbsd.ram.gz ${ITARGET}/netbsd.ram.gz +.endif