From 3586ef00b3d9fb8968a3ee5b33c522ffd250372b Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 31 May 2000 21:51:27 +0000 Subject: [PATCH] make snap_md_post do the right thing. --- distrib/vax/Makefile | 21 ++++++++++++++++++++- distrib/vax/Makefile.inc | 3 ++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/distrib/vax/Makefile b/distrib/vax/Makefile index d4adfaa1d0a4..3c4a981bda08 100644 --- a/distrib/vax/Makefile +++ b/distrib/vax/Makefile @@ -1,5 +1,24 @@ -# $NetBSD: Makefile,v 1.4 2000/05/23 18:36:04 matt Exp $ +# $NetBSD: Makefile,v 1.5 2000/05/31 21:51:27 matt Exp $ + +.include # Use /etc/mk.conf. + +ITARGET= ${RELEASEDIR}/installation +IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \ + -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} SUBDIR= ramdisk ramdisk-kernel #inst tk50 rx50 rx33 .include + +.ifndef RELEASEDIR +release: + @echo setenv RELEASEDIR first + @false +.else +INSTKERNOBJ != cd ramdisk-kernel; make print-objdir +BOOTOBJ != cd ${.CURDIR}/../../sys/arch/vax/boot/boot; make print-objdir + +release: + ${IINST} ${BOOTOBJ}/boot.mop ${ITARGET}/netboot/ + ${IINST} ${INSTKERNOBJ}/netbsd.INSTALL.gz ${ITARGET}/netboot/netbsd.ram.gz +.endif diff --git a/distrib/vax/Makefile.inc b/distrib/vax/Makefile.inc index a0b41969368c..8fff7d7d3451 100644 --- a/distrib/vax/Makefile.inc +++ b/distrib/vax/Makefile.inc @@ -1,5 +1,6 @@ -# $NetBSD: Makefile.inc,v 1.6 2000/05/18 02:12:45 matt Exp $ +# $NetBSD: Makefile.inc,v 1.7 2000/05/31 21:51:27 matt Exp $ .include "../../Makefile.inc" +.include REV!=sh ${.CURDIR}/../../..//sys/conf/osrelease.sh -s