Skip to content

COMPILE.tex discards latexmk's exit status, masking failed builds #85

Description

@dbosk

Context

Found while fixing dbosk/nytid#446: the doc build exited 0 despite an
Emergency stop and a bibtex Error 2 inside.

Observation

COMPILE.tex ends the latexmk invocation with ;, so the recipe's exit
status is not latexmk's. make reports success for failed builds, which is
how nytid's broken clean-clone build hid (dbosk/nytid#446, and the remaining
prerequisite gap in nytid's doc/Makefile).

Why it matters

An entire class of LaTeX breakage becomes invisible to make and CI.

Suggested follow-up

Propagate latexmk's exit status (drop the trailing ; or || exit
appropriately), then fix whatever downstream projects were relying on the
masking.

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