2002-02-12 02:02:23 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 2002/02/11 23:02:23 reinoud Exp $
|
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
|
|
|
|
|
|
|
|
REV!=sh ${.CURDIR}/../../sys/conf/osrelease.sh -s
|
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
|
|
|
|
.ifndef RELEASEDIR
|
|
|
|
release:
|
|
|
|
@echo setenv RELEASEDIR first
|
|
|
|
@false
|
|
|
|
.else
|
|
|
|
RAMDISKOBJ != cd ${.CURDIR}/ramdisk && ${PRINTOBJDIR}
|
|
|
|
KERNELOBJ != cd ${.CURDIR}/kernels && ${PRINTOBJDIR}
|
|
|
|
|
|
|
|
release:
|
|
|
|
${IINST} ${RAMDISKOBJ}/ramdisk-${REV}.fs.gz ${ITARGET}/misc/
|
|
|
|
.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 && \
|
|
|
|
./export-BtNetBSD && mv BtNetBSD.tar ${ITARGET}/misc && \
|
|
|
|
gzip ${ITARGET}/misc/BtNetBSD.tar && \
|
|
|
|
rm -rf BtNetBSD.tar
|
2002-01-25 18:28:41 +03:00
|
|
|
.endif
|