NAME := CRDTs THEME := metropolis THEME_FILES := beamercolortheme${THEME}.sty \ beamerfonttheme${THEME}.sty \ beamerinnertheme${THEME}.sty \ beameroutertheme${THEME}.sty \ beamertheme${THEME}.sty \ pgfplotsthemetol.sty .PHONY: all clean tex-clean all: ${NAME}.pdf body.tex: ${NAME}.md pandoc --latex-engine=xelatex -t beamer -V theme:${THEME} -o body.tex ${NAME}.md ${NAME}.pdf: head.tex body.tex xelatex head.tex xelatex head.tex mv head.pdf ${NAME}.pdf tex-clean: @rm -f *.aux *.log *.nav *.out *.snm *.toc body.tex clean: tex-clean @rm -f *.pdf