save them with the $FreeBSD$ tag prepended. Changes to these files are now a lot easier to comprehend, which makes diffs also reviewable.
24 lines
417 B
Makefile
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>
|