1# $FreeBSD$ 2 3.PATH: ${.CURDIR} 4 5PACKAGE= tests 6 7_REBASE_SCRIPT= mkimg_test 8ATF_TESTS_SH= ${_REBASE_SCRIPT} 9 10SOURCES!= cd ${.CURDIR}; echo *.uu 11${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g} 12 13.for f in ${${PACKAGE}FILES} 14$f: $f.gz.uu 15 uudecode -p ${.ALLSRC} | gunzip -c > ${.TARGET} 16.endfor 17 18CLEANFILES+= ${${PACKAGE}FILES}} 19 20rebase: .PHONY 21 (cd ${.CURDIR}; atf-sh ${_REBASE_SCRIPT}.sh rebase) 22 23.include <bsd.test.mk> 24