From f6a16b1f9a9c756cb259438aa6ff2151deb23bf3 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 2 Apr 2012 07:53:57 -0400 Subject: [PATCH] tidying up thar --- math-replay/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/math-replay/Makefile b/math-replay/Makefile index ee31d20..918cb2d 100644 --- a/math-replay/Makefile +++ b/math-replay/Makefile @@ -6,6 +6,8 @@ ALL += $(patsubst %.tex,%.pdf,$(shell find . -name '*.tex')) haml $^ $@ %.pdf:%.tex - texi2pdf $^ -o $@ + texi2pdf $^ -o $@ && \ + rm -vf $(patsubst %.pdf,%.aux,$(notdir $@)) \ + $(patsubst %.pdf,%.log,$(notdir $@)) all: $(ALL)