2017-08-23 19:18:44 +00:00
|
|
|
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) \
|
2017-08-28 13:35:04 +00:00
|
|
|
done
|
|
|
|
rm -f ma.aux ma.idx ma.lof ma.log ma.lot ma.out ma.tdo ma.toc
|
2017-08-23 19:18:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|