Sfoglia il codice sorgente

Merge pull request #47 from fennecJ/patch

Remove _minted-lkmpg directory after compiled pdf
Jim Huang 3 anni fa
parent
commit
78c925ee66
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -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