use RELINSTALL
This commit is contained in:
parent
9074deb758
commit
5bf6e9db83
@ -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
|
SUBDIR= ramdisk miniroot
|
||||||
TARGETS= all release
|
TARGETS= all release
|
||||||
|
|
||||||
release:
|
release:
|
||||||
-mkdir -p ${RELEASEDIR}/installation/netboot
|
-mkdir -p ${RELEASEDIR}/installation/netboot
|
||||||
cp -p ${DESTDIR}/usr/mdec/netboot \
|
${RELINSTALL} ${DESTDIR}/usr/mdec/netboot \
|
||||||
${RELEASEDIR}/installation/netboot/
|
${RELEASEDIR}/installation/netboot
|
||||||
-mkdir -p ${RELEASEDIR}/installation/tapeimage
|
-mkdir -p ${RELEASEDIR}/installation/tapeimage
|
||||||
cp -p ${DESTDIR}/usr/mdec/tapeboot \
|
${RELINSTALL} ${DESTDIR}/usr/mdec/tapeboot \
|
||||||
${RELEASEDIR}/installation/tapeimage/
|
${RELEASEDIR}/installation/tapeimage
|
||||||
cp -p ${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
|
${RELINSTALL} ${.CURDIR}/MakeBootTape ${.CURDIR}/MakeInstTape \
|
||||||
${RELEASEDIR}/installation/tapeimage/
|
${RELEASEDIR}/installation/tapeimage
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -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.
|
# TOP is assumed to be defined by Makefile including this one.
|
||||||
|
|
||||||
@ -87,7 +87,8 @@ depend:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
-mkdir -p ${RELEASEDIR}/installation/floppy
|
-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 \
|
for f in ${RELEASEDIR}/installation/floppy/${BASENAME}*.fs; do \
|
||||||
gzip <$$f >$$f.gz; \
|
gzip <$$f >$$f.gz; \
|
||||||
done
|
done
|
||||||
|
@ -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>
|
.include <bsd.prog.mk>
|
||||||
.MAIN: all
|
.MAIN: all
|
||||||
@ -21,4 +21,4 @@ ${RAMDISKDIR}/ramdisk.fs:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
-mkdir -p ${RELEASEDIR}/installation/floppy
|
-mkdir -p ${RELEASEDIR}/installation/floppy
|
||||||
cp -p inst.fs inst.fs.gz ${RELEASEDIR}/installation/floppy
|
${RELINSTALL} inst.fs inst.fs.gz ${RELEASEDIR}/installation/floppy
|
||||||
|
@ -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>
|
.include <bsd.kernobj.mk>
|
||||||
|
|
||||||
@ -36,8 +38,7 @@ release:
|
|||||||
-mkdir -p ${RELEASEDIR}/installation/floppy
|
-mkdir -p ${RELEASEDIR}/installation/floppy
|
||||||
-mkdir -p ${RELEASEDIR}/installation/misc
|
-mkdir -p ${RELEASEDIR}/installation/misc
|
||||||
.ifndef NOKERNCOPY
|
.ifndef NOKERNCOPY
|
||||||
cp -p ${KERNNAME} ${RELEASEDIR}/binary/kernel
|
${RELINSTALL} ${KERNNAME} ${GZNAME} ${RELEASEDIR}/binary/kernel
|
||||||
cp -p ${GZNAME} ${RELEASEDIR}/binary/kernel
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
clean cleandir distclean:
|
clean cleandir distclean:
|
||||||
|
Loading…
Reference in New Issue
Block a user