Skip to content

#89 Rebuild paper.pdf when sections or bibliography change - #91

Open
yegor256 wants to merge 1 commit into
masterfrom
89
Open

yegor256 wants to merge 1 commit into
masterfrom
89

Conversation

@yegor256

Copy link
Copy Markdown
Member

Closes #89

The paper.pdf rule depended only on paper.tex, so after editing sections/*.tex or bibliography/main.bib make considered the PDF up to date and never ran latexmk.

The new tests/rebuilds-after-section-edit.sh (run by make test) builds a throwaway tree, touches a section and then the bibliography, and checks that make -n plans a latexmk run. It failed before the change.

The rule now lists $(wildcard sections/*.tex) and $(wildcard bibliography/main.bib); the wildcard keeps make working when the bibliography submodule is not checked out.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 11, 2026 04:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Makefile leaves paper.pdf stale after section edits

2 participants