freebsd-dev/usr.bin/mkimg/tests/Makefile
Marcel Moolenaar 370d612f5e Don't compress and uuencode the "hexdump -C" output files. Just
save them with the $FreeBSD$ tag prepended.  Changes to these
files are now a lot easier to comprehend, which makes diffs also
reviewable.
2019-03-09 02:03:07 +00:00

24 lines
417 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}
PACKAGE= tests
_REBASE_SCRIPT= mkimg_test
ATF_TESTS_SH= ${_REBASE_SCRIPT}
SOURCES!= cd ${.CURDIR}; echo *.hex
${PACKAGE}FILES+= ${SOURCES:S,.hex,,g}
.for f in ${${PACKAGE}FILES}
$f: $f.hex
sed -e '/^#.*/D' < ${.ALLSRC} > ${.TARGET}
.endfor
CLEANFILES+= ${${PACKAGE}FILES}}
rebase: .PHONY
(cd ${.CURDIR}; /usr/libexec/atf-sh ${_REBASE_SCRIPT}.sh rebase)
.include <bsd.test.mk>