2014-09-20 21:02:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-05-31 07:42:14 +00:00
|
|
|
.PATH: ${.CURDIR}
|
|
|
|
|
2016-02-02 22:26:49 +00:00
|
|
|
PACKAGE= tests
|
|
|
|
|
2017-05-31 07:49:49 +00:00
|
|
|
_REBASE_SCRIPT= mkimg_test
|
|
|
|
ATF_TESTS_SH= ${_REBASE_SCRIPT}
|
2014-09-20 21:02:54 +00:00
|
|
|
|
|
|
|
SOURCES!= cd ${.CURDIR}; echo *.uu
|
2016-05-04 23:20:53 +00:00
|
|
|
${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g}
|
2014-09-20 21:02:54 +00:00
|
|
|
|
2017-05-31 07:42:14 +00:00
|
|
|
.for f in ${${PACKAGE}FILES}
|
|
|
|
$f: $f.gz.uu
|
|
|
|
uudecode -p ${.ALLSRC} | gunzip -c > ${.TARGET}
|
|
|
|
.endfor
|
2014-09-20 21:02:54 +00:00
|
|
|
|
2016-05-04 23:20:53 +00:00
|
|
|
CLEANFILES+= ${${PACKAGE}FILES}}
|
2014-09-24 04:17:29 +00:00
|
|
|
|
2017-05-31 07:49:49 +00:00
|
|
|
rebase: .PHONY
|
|
|
|
(cd ${.CURDIR}; atf-sh ${_REBASE_SCRIPT}.sh rebase)
|
2014-09-20 21:02:54 +00:00
|
|
|
|
|
|
|
.include <bsd.test.mk>
|