Author: ngie
Date: Wed May 31 07:49:49 2017
New Revision: 319294
URL: https://svnweb.freebsd.org/changeset/base/319294

Log:
  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

Modified:
  head/usr.bin/mkimg/tests/Makefile

Modified: head/usr.bin/mkimg/tests/Makefile
==============================================================================
--- head/usr.bin/mkimg/tests/Makefile   Wed May 31 07:42:14 2017        
(r319293)
+++ head/usr.bin/mkimg/tests/Makefile   Wed May 31 07:49:49 2017        
(r319294)
@@ -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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to