summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-06-04 02:21:38 +0000
committerngie <ngie@FreeBSD.org>2017-06-04 02:21:38 +0000
commitdc1d94a532aea280d3f4f81ef61d1262093f2f1f (patch)
tree5514a5891b75b3dc1d52f5e6b35519693ed695b6
parente739ef3a61710075372dea92583025ea12434dfc (diff)
downloadFreeBSD-src-dc1d94a532aea280d3f4f81ef61d1262093f2f1f.zip
FreeBSD-src-dc1d94a532aea280d3f4f81ef61d1262093f2f1f.tar.gz
MFC r319294:
Approved by: re (gjb) 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.
-rw-r--r--usr.bin/mkimg/tests/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/mkimg/tests/Makefile b/usr.bin/mkimg/tests/Makefile
index bdf9a78..ffffc0a 100644
--- a/usr.bin/mkimg/tests/Makefile
+++ b/usr.bin/mkimg/tests/Makefile
@@ -2,7 +2,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}
@@ -12,7 +13,7 @@ ${${PACKAGE}FILES}:
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>
OpenPOWER on IntegriCloud