diff options
author | ngie <ngie@FreeBSD.org> | 2017-07-18 18:54:54 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-07-18 18:54:54 +0000 |
commit | 527cbd29bbcf7633510e45835197f2e285479bb6 (patch) | |
tree | eaaba036564caabf41fc9a7d761153f729721818 /usr.bin/mkimg | |
parent | 82caa21c0590a8f6f50805e7d7fe042e776a443a (diff) | |
download | FreeBSD-src-527cbd29bbcf7633510e45835197f2e285479bb6.zip FreeBSD-src-527cbd29bbcf7633510e45835197f2e285479bb6.tar.gz |
MFC r319293:
Formalize the dependent/dependency relationship for <foo>.gz.uu vs <foo>
This helps ensure that the output files are regenerated if the input files
change, after the output files have been created.
Diffstat (limited to 'usr.bin/mkimg')
-rw-r--r-- | usr.bin/mkimg/tests/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/mkimg/tests/Makefile b/usr.bin/mkimg/tests/Makefile index ffffc0a..d934c72 100644 --- a/usr.bin/mkimg/tests/Makefile +++ b/usr.bin/mkimg/tests/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.PATH: ${.CURDIR} + PACKAGE= tests _REBASE_SCRIPT= mkimg_test @@ -8,8 +10,10 @@ ATF_TESTS_SH= ${_REBASE_SCRIPT} SOURCES!= cd ${.CURDIR}; echo *.uu ${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g} -${${PACKAGE}FILES}: - uudecode -p ${.CURDIR}/${.TARGET}.gz.uu | gunzip -c > ${.TARGET} +.for f in ${${PACKAGE}FILES} +$f: $f.gz.uu + uudecode -p ${.ALLSRC} | gunzip -c > ${.TARGET} +.endfor CLEANFILES+= ${${PACKAGE}FILES}} |