diff --git a/Makefile b/Makefile index b4f475a..b41bc7d 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,7 @@ edit: $(SRCNAMES) %.pdf: $(TEXSRC) $(wildcard $(THISDIR)*.tex) $(BBLNAMES) @echo Compiling $@ - ($(PDF) $(@:.pdf=.tex)) || (touch --date="`date -R -r $(@:.pdf=.tex)`" $@ & grep "Warning" $(@:.pdf=.log)) + ($(PDF) $(@:.pdf=.tex)) || (touch --date="`date -R -r $(@:.pdf=.tex)`" $@ & rm -f $(@:.pdf=.aux) & grep "Warning" $(@:.pdf=.log)) @echo Recompile tikz images