Skip to content

tex.mk grouped pattern rules trigger GNU Make 4.4 peer-target warnings #83

Description

@dbosk

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions