FIGURES := figures/partition.pdf \ figures/subtree-with-hole.pdf \ figures/tree-graph.pdf \ figures/tree-marked.pdf \ figures/tree.pdf \ figures/word.pdf .PHONY: all presentation clean all: mgr.pdf presentation/presentation.pdf figures/%.pdf: figures/%.svg inkscape -D "$<" -o $@ --export-latex sed -i -e "s#{$(@F)#{$@#" $(@:.pdf=.pdf_tex) mgr.pdf: mgr.tex mgr.bib pracamgr.cls definitions.sty $(FIGURES) lualatex mgr biber mgr lualatex mgr presentation: presentation/presentation.pdf presentation/presentation.pdf: presentation/presentation.md $(FIGURES) pandoc -f markdown+implicit_figures presentation/presentation.md -t beamer -o presentation/presentation.pdf clean: rm -rf mgr.pdf mgr.aux mgr.bbl mgr.bcf mgr.blg mgr.log mgr.run.xml mgr.toc rm -rf presentation/presentation.pdf rm -rf figures/*.pdf figures/*.pdf_tex