use RELINSTALL

This commit is contained in:
lukem 2002-04-26 15:05:29 +00:00
parent 9074deb758
commit 5bf6e9db83
4 changed files with 16 additions and 14 deletions

View File

@ -1,16 +1,16 @@
# $NetBSD: Makefile,v 1.4 2001/10/04 16:09:11 chs Exp $
# $NetBSD: Makefile,v 1.5 2002/04/26 15:05:29 lukem Exp $
SUBDIR= ramdisk miniroot
TARGETS= all release
release:
-mkdir -p ${RELEASEDIR}/installation/netboot
cp -p ${DESTDIR}/usr/mdec/netboot \
${RELEASEDIR}/installation/netboot/
${RELINSTALL} ${DESTDIR}/usr/mdec/netboot \
${RELEASEDIR}/installation/netboot
-mkdir -p ${RELEASEDIR}/installation/tapeimage
cp -p ${DESTDIR}/usr/mdec/tapeboot \
${RELEASEDIR}/installation/tapeimage/
cp -p ${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
${RELEASEDIR}/installation/tapeimage/
${RELINSTALL} ${DESTDIR}/usr/mdec/tapeboot \
${RELEASEDIR}/installation/tapeimage
${RELINSTALL} ${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
${RELEASEDIR}/installation/tapeimage
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.20 2002/03/06 12:27:08 lukem Exp $
# $NetBSD: Makefile.inc,v 1.21 2002/04/26 15:08:21 lukem Exp $
# TOP is assumed to be defined by Makefile including this one.
@ -87,7 +87,8 @@ depend:
release:
-mkdir -p ${RELEASEDIR}/installation/floppy
cp -p ${BASENAME}*.fs ${RELEASEDIR}/installation/floppy
${RELINSTALL} ${BASENAME}*.fs ${RELEASEDIR}/installation/floppy
# XXX: do we want this?
for f in ${RELEASEDIR}/installation/floppy/${BASENAME}*.fs; do \
gzip <$$f >$$f.gz; \
done

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2001/11/14 00:58:49 tv Exp $
# $NetBSD: Makefile,v 1.10 2002/04/26 15:08:22 lukem Exp $
.include <bsd.prog.mk>
.MAIN: all
@ -21,4 +21,4 @@ ${RAMDISKDIR}/ramdisk.fs:
release:
-mkdir -p ${RELEASEDIR}/installation/floppy
cp -p inst.fs inst.fs.gz ${RELEASEDIR}/installation/floppy
${RELINSTALL} inst.fs inst.fs.gz ${RELEASEDIR}/installation/floppy

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.inc,v 1.1 2001/12/07 06:57:50 minoura Exp $
# $NetBSD: Makefile.inc,v 1.2 2002/04/26 15:08:22 lukem Exp $
# XXXDISTRIB: NDWO
.include <bsd.kernobj.mk>
@ -36,8 +38,7 @@ release:
-mkdir -p ${RELEASEDIR}/installation/floppy
-mkdir -p ${RELEASEDIR}/installation/misc
.ifndef NOKERNCOPY
cp -p ${KERNNAME} ${RELEASEDIR}/binary/kernel
cp -p ${GZNAME} ${RELEASEDIR}/binary/kernel
${RELINSTALL} ${KERNNAME} ${GZNAME} ${RELEASEDIR}/binary/kernel
.endif
clean cleandir distclean: