--- src/nrelease/Makefile 2007/04/26 08:25:41 1.62 +++ src/nrelease/Makefile 2007/05/18 02:13:04 1.63 @@ -102,6 +102,10 @@ check: @echo " make [installer_]fetch" @exit 1 .endif +.if !exists(${.CURDIR}/../sys/config/NATA) + @echo "/usr/src/sys/config/NATA doesn't exist, your CVS may be out of date" + @exit 1 +.endif buildworld1 buildworld2: cd ${.CURDIR}/..; CCVER=${WORLD_CCVER} make ${.TARGET:C/build(.*)2/quick\1/:C/1//} @@ -239,15 +243,6 @@ pkgsrc_cdrecord: .endif -# XXX I am a tentative target, remove me when I am not needed anymore! -buildkernel1 buildkernel2: ${.CURDIR}/../sys/config/NATA - -${.CURDIR}/../sys/config/NATA: ${.CURDIR}/../sys/config/GENERIC - ( sed -e '/[[:<:]]ata[01]/d;s/[[:<:]]ata/n&/' ${.ALLSRC}; \ - echo "options PCI_MAP_FIXUP"; \ - echo "device nataraid" ) > ${.TARGET} - - .PHONY: all release installer_release quickrel installer_quickrel realquickrel .PHONY: installer_fetch .PHONY: installer_realquickrel check buildworld1 buildworld2