all: ma.md bibma.bib template.tex settings/abkuerzungen.tex settings/commands.tex settings/environments.tex settings/hyphenation.tex settings/packages.tex files/titlepage.tex files/erklaerung.tex pandoc -s -N --template=template.tex ma.md -o ma.tex rm -f ma.pdf ma.aux ma.idx ma.lof ma.log ma.lot ma.out ma.tdo ma.toc pdflatex -interaction batchmode ma.tex || true while test `cat ma.log | grep -e "rerunfilecheck \(Warning\|Info\).*has changed" | wc -l` -gt 0 ; do \ rm ma.log && (pdflatex -interaction batchmode ma.tex || true) \ done \ clean: rm -f ma.pdf ma.aux ma.idx ma.lof ma.log ma.lot ma.out ma.tdo ma.toc rm -f ma.tex