Add make release support so automake snapshots

This commit is contained in:
matt 2000-06-08 17:39:44 +00:00
parent d3336b64a1
commit 238972e741

View File

@ -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 <bsd.own.mk> # Use /etc/mk.conf.
ITARGET= ${RELEASEDIR}/installation
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
SUBDIR= floppies
TARGETS+=release
.include <bsd.subdir.mk>
.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