commit ed5d0a78cc20ba7e9911adecca484ebd4e4a2d5a
parent 88cd41d7355a3528e43c5a6754da59228c048dc9
Author: Mattias Andrée <maandree@kth.se>
Date: Thu, 2 Jun 2016 09:19:30 +0200
Makefile: remove intermediary files after compiling pdf files
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -162,10 +162,12 @@ benchmark-zrand: bench/benchmark-zrand.c bench/benchmark.h libzahl.a
refsheet.pdf: doc/refsheet.tex
pdflatex doc/refsheet.tex </dev/null
pdflatex doc/refsheet.tex </dev/null
+ -@printf 'refsheet.%s\n' aux log | xargs rm -- 2>/dev/null
libzahl.pdf: $(TEXSRC)
pdflatex doc/libzahl.tex </dev/null
pdflatex doc/libzahl.tex </dev/null
+ -@printf 'libzahl.%s\n' aux idx log maf toc out | xargs rm -- libzahl.mtc* 2>/dev/null
check: test
./test