aboutsummaryrefslogtreecommitdiff
path: root/slides/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'slides/Makefile')
-rw-r--r--slides/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/slides/Makefile b/slides/Makefile
index 4f2b761..e92b20f 100644
--- a/slides/Makefile
+++ b/slides/Makefile
@@ -72,6 +72,13 @@ $(BUILD_DIR)/%.revealjs.md.d: %.md | $(BUILD_DIR)
%-reveal.html: %.revealjs.md
$(RUN_PANDOC_REVEALJS) -o $@ $<
+images/%.pdf: images/%.pgf | images/pp-template Makefile
+ images/pp-template $< > $(patsubst %.pgf,%.tmp.tex,$<)
+ TEXINPUTS=./:images/tikzuml-v1.0-2016-03-29: \
+ xelatex -output-directory=images \
+ -jobname $(notdir $(basename $@)) \
+ $(patsubst %.pgf,%.tmp.tex,$<)
+
images/%.pdf: images/%.tex | images/pp-template Makefile
images/pp-template < $< > $(patsubst %.tex,%-full.tex,$<)
xelatex -output-directory=images $(patsubst %.tex,%-full.tex,$<)