Explorar o código

Remove _minted-lkmpg directory after compiled pdf

The _minted-lkmpg directory should be removed AFTER all compile work is
done.
fennecj %!s(int64=3) %!d(string=hai) anos
pai
achega
0bf15a0286
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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