What is wrong?
The pattern rule for both PDFs declares only the .tex file as a prerequisite. Changes to pitch.cls, which contains the shared document class and most of the deck's formatting and package setup, do not make sales-deck.pdf or founder-pitch.pdf out of date. CI can therefore publish PDFs rendered with an older class.
Where?
Makefile:11-12
Reproduction
- Build the repository once with
make.
- Change a visible definition in
pitch.cls (for example, alter \renewcommand\emph or the page color).
- Run
make again without deleting the PDFs.
- Make reports both targets up to date and leaves the PDFs byte-for-byte unchanged.
Expected behavior
Changing a shared class used by both documents should trigger regeneration of both PDFs.
Suggested fix
Add pitch.cls (and any other shared generated/input assets) as a prerequisite of the pattern rule, or use explicit targets with complete dependency lists.
What is wrong?
The pattern rule for both PDFs declares only the
.texfile as a prerequisite. Changes topitch.cls, which contains the shared document class and most of the deck's formatting and package setup, do not makesales-deck.pdforfounder-pitch.pdfout of date. CI can therefore publish PDFs rendered with an older class.Where?
Makefile:11-12Reproduction
make.pitch.cls(for example, alter\renewcommand\emphor the page color).makeagain without deleting the PDFs.Expected behavior
Changing a shared class used by both documents should trigger regeneration of both PDFs.
Suggested fix
Add
pitch.cls(and any other shared generated/input assets) as a prerequisite of the pattern rule, or use explicit targets with complete dependency lists.