Tweak pdfLaTeX related commands

This commit is contained in:
Jim Huang 2021-08-07 18:49:24 +08:00
parent d0721da3d9
commit d2fd6d64c0

View File

@ -1,7 +1,10 @@
all: lkmpg.tex
rm -rf _minted-main
pdflatex -shell-escap lkmpg.tex
bibtex main >/dev/null || echo
PROJ = lkmpg
all: $(PROJ).pdf
$(PROJ).pdf: lkmpg.tex
rm -rf _minted-$(PROJ)
pdflatex -shell-escap $<
bibtex $(PROJ) >/dev/null || echo
pdflatex -shell-escape $< 2>/dev/null >/dev/null
html: lkmpg.tex html.cfg