aboutsummaryrefslogtreecommitdiff
path: root/slides/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-06-13 20:02:36 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-06-13 20:02:36 +0200
commite4bdeee49319bc5570dfa0e998e4e68f3c33ee8c (patch)
tree27a4fc54611746d2c3c74f9412e68e0032f76ac1 /slides/Makefile
parent970b9667089f08a606d9df53d72123095f452a58 (diff)
downloadiot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.tar.gz
iot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.tar.bz2
iot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.tar.xz
iot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.zip
wip
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,$<)