1 1.5 reinoud # $NetBSD: Makefile,v 1.5 2002/02/16 01:53:52 reinoud Exp $ 2 1.1 reinoud 3 1.1 reinoud ITARGET= ${RELEASEDIR}/installation 4 1.2 lukem IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} 5 1.1 reinoud KERNELS= INSTALL 6 1.1 reinoud 7 1.1 reinoud SUBDIR= ramdisk kernels 8 1.1 reinoud 9 1.1 reinoud REV!=sh ${.CURDIR}/../../sys/conf/osrelease.sh -s 10 1.1 reinoud 11 1.1 reinoud .include <bsd.subdir.mk> 12 1.1 reinoud 13 1.1 reinoud .ifndef RELEASEDIR 14 1.1 reinoud release: 15 1.1 reinoud @echo setenv RELEASEDIR first 16 1.1 reinoud @false 17 1.1 reinoud .else 18 1.1 reinoud RAMDISKOBJ != cd ${.CURDIR}/ramdisk && ${PRINTOBJDIR} 19 1.1 reinoud KERNELOBJ != cd ${.CURDIR}/kernels && ${PRINTOBJDIR} 20 1.1 reinoud 21 1.1 reinoud release: 22 1.1 reinoud ${IINST} ${RAMDISKOBJ}/ramdisk-${REV}.fs.gz ${ITARGET}/misc/ 23 1.1 reinoud .for kern in ${KERNELS} 24 1.1 reinoud ${IINST} ${KERNELOBJ}/netbsd.${kern}.gz ${ITARGET}/kernel/ 25 1.1 reinoud .endfor 26 1.3 reinoud cd ${.CURDIR}/../../sys/arch/acorn32/stand && \ 27 1.4 reinoud ./export-BtNetBSD && \ 28 1.5 reinoud rm -f ${ITARGET}/misc/BtNetBSD.tgz && \ 29 1.5 reinoud gzip -9 -c BtNetBSD.tar > ${ITARGET}/misc/BtNetBSD.tgz && \ 30 1.5 reinoud rm -f BtNetBSD.tar && \ 31 1.5 reinoud mv -f BtNetBSD.zip ${ITARGET}/misc && \ 32 1.5 reinoud ${IINST} ${.CURDIR}/../notes/acorn32/prep.RISCOS ${RELEASEDIR}/ && \ 33 1.5 reinoud cd ${.CURDIR} && \ 34 1.5 reinoud rm -f ${ITARGET}/misc/gzip_ff8.bin && \ 35 1.5 reinoud uudecode < gzip_ff8.bin.uue && \ 36 1.5 reinoud mv -f gzip_ff8.bin ${ITARGET}/misc/ 37 1.1 reinoud .endif 38 1.5 reinoud 39