master-thesis/doc/Makefile

28 lines
781 B
Makefile
Raw Normal View History

NOTE = !! change the next line to fit your filename; no spaces at file name end !!
FILE = Thesis
2019-08-09 09:14:30 +00:00
all: all-graphviz
pdflatex $(FILE)
dot -Tpdf -o abc.pdf abc.dot
2019-08-08 12:08:07 +00:00
bibtex $(FILE)
2019-08-08 12:10:10 +00:00
makeindex Thesis.nlo -s nomencl.ist -o Thesis.nls
pdflatex $(FILE)
pdflatex $(FILE)
clean:
rm -f *.dvi *.log *.aux *.bbl *.blg *.toc *.lof *.lot *.cb *.~ *.ilg *.nlo *.nls *.out *.glo graphviz/*.png graphiz/*.pdf
2019-08-09 08:38:54 +00:00
all-graphviz:
for dot in graphviz/*.dot; do make $${dot%%.dot}.png; done
for dot in graphviz/*.dot; do make $${dot%%.dot}.pdf; done
for dot in graphviz/*.dot; do make $${dot%%.dot}.svg; done
2019-08-09 08:38:54 +00:00
graphviz/%.png: graphviz/%.dot
dot -Tpng < $< > $@
graphviz/%.pdf: graphviz/%.dot
dot -Tpdf < $< > $@
graphviz/%.svg: graphviz/%.dot
dot -Tsvg < $< > $@