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.
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 exitstatus 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|| exitappropriately), then fix whatever downstream projects were relying on the
masking.