Fix "make rebase" after ^/head@r315776

"make rebase" can be used for rebasing the output files from mkimg
after making a change to mkimg. This will come in handy soon, per
bug 219673.

MFC after:	3 days
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-05-31 07:49:49 +00:00
parent 605b213ee1
commit 301441dcd8

View File

@ -4,7 +4,8 @@
PACKAGE= tests
ATF_TESTS_SH= mkimg_test
_REBASE_SCRIPT= mkimg_test
ATF_TESTS_SH= ${_REBASE_SCRIPT}
SOURCES!= cd ${.CURDIR}; echo *.uu
${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g}
@ -16,7 +17,7 @@ $f: $f.gz.uu
CLEANFILES+= ${${PACKAGE}FILES}}
rebase:
(cd ${.CURDIR}; atf-sh mkimg.sh rebase)
rebase: .PHONY
(cd ${.CURDIR}; atf-sh ${_REBASE_SCRIPT}.sh rebase)
.include <bsd.test.mk>