Home | History | Annotate | Line # | Download | only in acorn32
Makefile revision 1.4
      1  1.4  reinoud # $NetBSD: Makefile,v 1.4 2002/02/11 23:07:46 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.4  reinoud 		mv -f BtNetBSD.tar ${ITARGET}/misc && \
     29  1.4  reinoud 		rm -rf ${ITARGET}/misc/BtNetBSD.tar.gz
     30  1.3  reinoud 		gzip ${ITARGET}/misc/BtNetBSD.tar && \
     31  1.4  reinoud 		rm -rf BtNetBSD.tar 
     32  1.1  reinoud .endif
     33