Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 07:49:49 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r319294 - head/usr.bin/mkimg/tests
Message-ID:  <201705310749.v4V7nnbM097623@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705310749.v4V7nnbM097623>