Files
progress-report/Makefile
T
2026-04-09 21:14:23 -04:00

20 lines
381 B
Makefile

main = report
latexmk = latexmk -pdf
git_add_files = *.tex imgs/ ref.bib Makefile latexmkrc
.PHONY : main clean cleanall autopush
main: $(main).tex
mkdir -pv tikzcache
$(latexmk) $<
clean:
$(latexmk) -c $(main).tex
cleanall:
$(latexmk) -C $(main).tex
autopush: main
git add $(git_add_files)
git diff --cached --quiet || (git commit -m "update: auto commit" && git push)