2002-03-06 15:39:10 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2002/03/06 12:39:10 lukem Exp $
|
2002-03-06 00:23:28 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2002-01-25 18:28:41 +03:00
|
|
|
|
|
|
|
ITARGET= ${RELEASEDIR}/installation
|
2002-02-09 16:56:48 +03:00
|
|
|
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
|
2002-01-25 18:28:41 +03:00
|
|
|
KERNELS= INSTALL
|
|
|
|
|
|
|
|
SUBDIR= ramdisk kernels
|
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
|
|
|
|
.ifndef RELEASEDIR
|
|
|
|
release:
|
|
|
|
@echo setenv RELEASEDIR first
|
|
|
|
@false
|
|
|
|
.else
|
|
|
|
RAMDISKOBJ != cd ${.CURDIR}/ramdisk && ${PRINTOBJDIR}
|
|
|
|
KERNELOBJ != cd ${.CURDIR}/kernels && ${PRINTOBJDIR}
|
|
|
|
|
|
|
|
release:
|
2002-03-06 15:39:10 +03:00
|
|
|
${IINST} ${RAMDISKOBJ}/ramdisk-${DISTRIBREV}.fs.gz ${ITARGET}/misc/
|
2002-01-25 18:28:41 +03:00
|
|
|
.for kern in ${KERNELS}
|
|
|
|
${IINST} ${KERNELOBJ}/netbsd.${kern}.gz ${ITARGET}/kernel/
|
|
|
|
.endfor
|
2002-02-12 02:02:23 +03:00
|
|
|
cd ${.CURDIR}/../../sys/arch/acorn32/stand && \
|
2002-02-12 02:07:46 +03:00
|
|
|
./export-BtNetBSD && \
|
2002-02-16 04:53:52 +03:00
|
|
|
rm -f ${ITARGET}/misc/BtNetBSD.tgz && \
|
|
|
|
gzip -9 -c BtNetBSD.tar > ${ITARGET}/misc/BtNetBSD.tgz && \
|
|
|
|
rm -f BtNetBSD.tar && \
|
|
|
|
mv -f BtNetBSD.zip ${ITARGET}/misc && \
|
|
|
|
${IINST} ${.CURDIR}/../notes/acorn32/prep.RISCOS ${RELEASEDIR}/ && \
|
|
|
|
cd ${.CURDIR} && \
|
|
|
|
rm -f ${ITARGET}/misc/gzip_ff8.bin && \
|
|
|
|
uudecode < gzip_ff8.bin.uue && \
|
|
|
|
mv -f gzip_ff8.bin ${ITARGET}/misc/
|
2002-01-25 18:28:41 +03:00
|
|
|
.endif
|
2002-02-16 04:53:52 +03:00
|
|
|
|