Merge pull request #47 from fennecJ/patch

Remove _minted-lkmpg directory after compiled pdf
This commit is contained in:
Jim Huang 2021-08-09 02:37:34 +08:00 committed by GitHub
commit 78c925ee66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,10 @@ 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
rm -rf _minted-$(PROJ)
html: lkmpg.tex html.cfg
sed $ 's/\t/ /g' lkmpg.tex > lkmpg-for-ht.tex