Makefile revision 1.5
11.5Slukem# $NetBSD: Makefile,v 1.5 2002/07/19 16:32:13 lukem Exp $ 21.1Sjdolecek# 31.1Sjdolecek 41.1Sjdolecek# we use compressed tar, SparkPlug doesn't handle gzipped tar 51.1SjdolecekARCHIVE=BtNetBSD.tar.Z 61.1Sjdolecek 71.5SlukemRAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR} 81.5Slukem 91.1Sjdolecekall: 101.1Sjdolecek 111.1Sjdolecekrelease: check_RELEASEDIR .WAIT ${ARCHIVE} 121.1Sjdolecek mv -f ${ARCHIVE} ${RELEASEDIR}/installation/misc/ 131.1Sjdolecek 141.1Sjdolecek${ARCHIVE}: tmp/BtNetBSD 151.1Sjdolecek cd tmp && tar cZf ${.OBJDIR}/${ARCHIVE} BtNetBSD 161.1Sjdolecek 171.1Sjdolecek.PHONY: tmp/BtNetBSD 181.1Sjdolecektmp/BtNetBSD: 191.1Sjdolecek rm -rf tmp 201.1Sjdolecek mkdir tmp 211.1Sjdolecek cp -R ${.CURDIR}/BtNetBSD tmp/ 221.3Sreinoud cp ${KERNOBJDIR}/INSTALL/netbsd tmp/BtNetBSD/InstKern 231.5Slukem ${MDSETIMAGE} tmp/BtNetBSD/InstKern ${RAMDISKDIR}/ramdisk.fs 241.1Sjdolecek find tmp -path '*/CVS/*' -type f -exec rm -rf {} \; 251.1Sjdolecek find tmp -name CVS -type d | xargs rmdir 261.1Sjdolecek find tmp -name '*.uue' | while read filename; do \ 271.2Sjdolecek ( cd "`dirname $$filename`" && uudecode "`basename $$filename`" ); \ 281.2Sjdolecek rm "$$filename"; \ 291.1Sjdolecek done; 301.1Sjdolecek # unixfs is copied into the !BtNetBSD dir at install time 311.1Sjdolecek cd tmp/BtNetBSD && cp -R '!BtNetBSD/native' unixfs 321.1Sjdolecek 331.1Sjdolecekclean: 341.1Sjdolecek @rm -f BtNetBSD.tar.Z 351.1Sjdolecek @if [ -d tmp ]; then rm -rf tmp; fi 361.1Sjdolecek 371.1Sjdolecek.include <bsd.subdir.mk> 381.1Sjdolecek 391.1Sjdolecek.include <bsd.obj.mk> 401.3Sreinoud.include <bsd.kernobj.mk> 411.3Sreinoud 42