1cd0b4a3cSMarcel Moolenaar# $FreeBSD$ 2cd0b4a3cSMarcel Moolenaar 3605b213eSEnji Cooper.PATH: ${.CURDIR} 4605b213eSEnji Cooper 543faedc1SGlen BarberPACKAGE= tests 643faedc1SGlen Barber 7301441dcSEnji Cooper_REBASE_SCRIPT= mkimg_test 8301441dcSEnji CooperATF_TESTS_SH= ${_REBASE_SCRIPT} 9cd0b4a3cSMarcel Moolenaar 10cd0b4a3cSMarcel MoolenaarSOURCES!= cd ${.CURDIR}; echo *.uu 11430f7286SEnji Cooper${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g} 12cd0b4a3cSMarcel Moolenaar 13605b213eSEnji Cooper.for f in ${${PACKAGE}FILES} 14605b213eSEnji Cooper$f: $f.gz.uu 15605b213eSEnji Cooper uudecode -p ${.ALLSRC} | gunzip -c > ${.TARGET} 16605b213eSEnji Cooper.endfor 17cd0b4a3cSMarcel Moolenaar 18430f7286SEnji CooperCLEANFILES+= ${${PACKAGE}FILES}} 19d60351dfSMarcel Moolenaar 20301441dcSEnji Cooperrebase: .PHONY 21*835adc68SMarcel Moolenaar (cd ${.CURDIR}; /usr/libexec/atf-sh ${_REBASE_SCRIPT}.sh rebase) 22cd0b4a3cSMarcel Moolenaar 23cd0b4a3cSMarcel Moolenaar.include <bsd.test.mk> 24