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