Context
Found while fixing the same warning class in noweb.mk (branch
fix/noweb-peer-target-warnings, dbosk/nytid#437).
Observation
tex.mk:81 (%.pytxmcr ${TEX_OUTDIR}/%.pytxmcr:: ...), tex.mk:83
(%.pdf ${TEX_OUTDIR}/%.pdf) and tex.mk:86 (%.dvi ...) are
multi-target pattern rules; GNU Make 4.4+ reads them as grouped and
warns "pattern recipe did not update peer target" for the peer that is
not written. After the noweb.mk fix, this is the one remaining warning
in a full nytid build.
Suggested follow-up
Same treatment as noweb.mk commit a6c9d66: one single-target rule per
target form (define/foreach/eval), updating the literate source.
Context
Found while fixing the same warning class in noweb.mk (branch
fix/noweb-peer-target-warnings, dbosk/nytid#437).
Observation
tex.mk:81(%.pytxmcr ${TEX_OUTDIR}/%.pytxmcr:: ...),tex.mk:83(
%.pdf ${TEX_OUTDIR}/%.pdf) andtex.mk:86(%.dvi ...) aremulti-target pattern rules; GNU Make 4.4+ reads them as grouped and
warns "pattern recipe did not update peer target" for the peer that is
not written. After the noweb.mk fix, this is the one remaining warning
in a full nytid build.
Suggested follow-up
Same treatment as noweb.mk commit a6c9d66: one single-target rule per
target form (define/foreach/eval), updating the literate source.