You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make clean leaves tracked founder-pitch.pdf behind #41
The clean target runs git clean -dfX, but founder-pitch.pdf is tracked in the repository while also listed in .gitignore. git clean never removes tracked files, so make clean leaves that generated artifact in place and a following make may skip rebuilding it even when the source or class changed.
Where?
Makefile:17
.gitignore:25
Tracked founder-pitch.pdf
Reproduction
Check out the repository and note that founder-pitch.pdf is present and tracked.
Run make clean.
Verify that founder-pitch.pdf still exists.
Change founder-pitch.tex's mtime/content back to an older timestamp or change a non-prerequisite class/asset, then run make; the stale tracked PDF can remain untouched.
Expected behavior
make clean should remove generated PDFs (or tracked artifacts should not be treated as generated), and a clean build should regenerate both outputs.
Suggested fix
Stop tracking generated PDFs and let git clean -dfX remove them, or explicitly delete both PDF targets in the clean recipe and keep their dependency graph complete.
Activity