xref: /NextBSD/usr.bin/mkimg/tests/Makefile (revision 84d351007654069f9643c8e4b4802a7f5f08ee42)
1# $FreeBSD$
2
3ATF_TESTS_SH=	mkimg
4
5SOURCES!=	cd ${.CURDIR}; echo *.uu
6FILES=		${SOURCES:S,.gz.uu,,g}
7FILESDIR=	${TESTSDIR}
8
9${FILES}:
10	uudecode -p ${.CURDIR}/${.TARGET}.gz.uu | gunzip -c > ${.TARGET}
11
12CLEANFILES+=	${FILES}
13
14rebase:
15	(cd ${.CURDIR}; atf-sh mkimg.sh rebase)
16
17.include <bsd.test.mk>
18