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. MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
ab0dffafb7
commit
605b213ee1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319293
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}
|
||||||
|
|
||||||
PACKAGE= tests
|
PACKAGE= tests
|
||||||
|
|
||||||
ATF_TESTS_SH= mkimg_test
|
ATF_TESTS_SH= mkimg_test
|
||||||
@ -7,8 +9,10 @@ ATF_TESTS_SH= mkimg_test
|
|||||||
SOURCES!= cd ${.CURDIR}; echo *.uu
|
SOURCES!= cd ${.CURDIR}; echo *.uu
|
||||||
${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g}
|
${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g}
|
||||||
|
|
||||||
${${PACKAGE}FILES}:
|
.for f in ${${PACKAGE}FILES}
|
||||||
uudecode -p ${.CURDIR}/${.TARGET}.gz.uu | gunzip -c > ${.TARGET}
|
$f: $f.gz.uu
|
||||||
|
uudecode -p ${.ALLSRC} | gunzip -c > ${.TARGET}
|
||||||
|
.endfor
|
||||||
|
|
||||||
CLEANFILES+= ${${PACKAGE}FILES}}
|
CLEANFILES+= ${${PACKAGE}FILES}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user