From 0bf15a02861425ba667694773a45c5510daf1691 Mon Sep 17 00:00:00 2001 From: fennecj Date: Mon, 9 Aug 2021 02:14:24 +0800 Subject: [PATCH] Remove _minted-lkmpg directory after compiled pdf The _minted-lkmpg directory should be removed AFTER all compile work is done. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8dd159..4b54113 100644 --- a/Makefile +++ b/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