masterarbeit/arbeit/Makefile

17 lines
842 B
Makefile
Raw Permalink Normal View History

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
2017-08-28 16:39:18 +00:00
rm -f ma.pdf ma.aux ma.idx ma.lof ma.log ma.lot ma.out ma.tdo ma.toc ma.bbl ma.blg ma.loa
2017-10-07 23:07:37 +00:00
xelatex -interaction batchmode ma.tex || true
2017-08-28 16:39:18 +00:00
bibtexu ma
2017-10-07 23:07:37 +00:00
xelatex -interaction batchmode ma.tex || true
2017-10-27 12:31:55 +00:00
while test `cat ma.log | grep -e "Rerun to get \(citations correct\|cross-references right\)" | wc -l` -gt 0 ; do \
2017-10-07 23:07:37 +00:00
rm ma.log && (xelatex -interaction batchmode ma.tex || true) \
2017-08-28 13:35:04 +00:00
done
2017-08-28 16:39:18 +00:00
rm -f ma.aux ma.idx ma.lof ma.lot ma.out ma.tdo ma.toc ma.bbl ma.blg ma.loa
# rm -f ma.log
2017-08-23 19:18:44 +00:00
clean:
2017-08-28 16:39:18 +00:00
rm -f ma.pdf ma.aux ma.idx ma.lof ma.log ma.lot ma.out ma.tdo ma.toc ma.bbl ma.blg ma.loa
2017-08-23 19:18:44 +00:00
rm -f ma.tex