update: makefile and vscode latex recipy

This commit is contained in:
2026-04-09 15:53:44 -04:00
parent ea93697fd9
commit 53e23a1363
2 changed files with 26 additions and 1 deletions
+6 -1
View File
@@ -1,7 +1,8 @@
main = report
latexmk = latexmk -pdflatex
git_add_files = *.tex imgs/ ref.bib
.PHONY : main clean cleanall
.PHONY : main clean cleanall autopush
main: $(main).tex
$(latexmk) $<
@@ -11,3 +12,7 @@ clean:
cleanall:
$(latexmk) -C $(main).tex
autopush: main
git add $(git_add_files)
git diff --cached --quiet || (git commit -m "update: auto commit" && git push)