xref: /freebsd/usr.bin/mkimg/tests/Makefile (revision 458cbf0ae6c08a8198470358697fe9064443b11b)
1cd0b4a3cSMarcel Moolenaar# $FreeBSD$
2cd0b4a3cSMarcel Moolenaar
343faedc1SGlen BarberPACKAGE=	tests
443faedc1SGlen Barber
5*458cbf0aSEnji CooperATF_TESTS_SH=	mkimg_test
6cd0b4a3cSMarcel Moolenaar
7cd0b4a3cSMarcel MoolenaarSOURCES!=	cd ${.CURDIR}; echo *.uu
8430f7286SEnji Cooper${PACKAGE}FILES+=		${SOURCES:S,.gz.uu,,g}
9cd0b4a3cSMarcel Moolenaar
10430f7286SEnji Cooper${${PACKAGE}FILES}:
11cd0b4a3cSMarcel Moolenaar	uudecode -p ${.CURDIR}/${.TARGET}.gz.uu | gunzip -c > ${.TARGET}
12cd0b4a3cSMarcel Moolenaar
13430f7286SEnji CooperCLEANFILES+=	${${PACKAGE}FILES}}
14d60351dfSMarcel Moolenaar
15cd0b4a3cSMarcel Moolenaarrebase:
16cd0b4a3cSMarcel Moolenaar	(cd ${.CURDIR}; atf-sh mkimg.sh rebase)
17cd0b4a3cSMarcel Moolenaar
18cd0b4a3cSMarcel Moolenaar.include <bsd.test.mk>
19