IMGS = imgs/network-public.png imgs/network-private.png imgs/network-community.png \
imgs/confine-partners.png imgs/extend-network.png \
imgs/testbed.png imgs/testbed-cd-rd.png \
imgs/testbed-logos-node.png imgs/testbed-logos-mgmt.png imgs/testbed-logos-devel.png
IMGS_BEAMER = imgs/confine,background.pdf
.PHONY: clean
all: slides,lightning.pdf
slides,lightning.pdf: slides,lightning.txt $(IMGS) slides-header.tex $(IMGS_BEAMER)
pandoc -t beamer -H slides-header.tex slides,lightning.txt -o $@
slides,lightning.html: slides,lightning.txt $(IMGS)
pandoc -t dzslides --self-contained slides,lightning.txt -o $@
imgs/confine,background.pdf: logos/confine,logo.svg
inkscape -z -D -A $@ $<
imgs/network-public.png: diagrams/network-public.dia
dia -e $@ -s 1024x $<
imgs/network-private.png: diagrams/network-private.dia
dia -e $@ -s 1024x $<
imgs/network-community.png: diagrams/network-community.dia
dia -e $@ -s 1024x $<
imgs/confine-partners.png: logos/confine-partners.svg
inkscape -z -C -e $@ -w 1024 $<
imgs/extend-network.png: diagrams/extend-network.svg
inkscape -z -C -e $@ -w 1024 $<
imgs/testbed.png: diagrams/testbed-logos.dia
dia -e $@ -L testbed -s 1024x $<
imgs/testbed-cd-rd.png: diagrams/testbed-logos.dia
dia -e $@ -L testbed,cd-rd -s 1024x $<
imgs/testbed-logos-node.png: diagrams/testbed-logos.dia
dia -e $@ -L testbed,cd-rd,logos-node -s 1024x $<
imgs/testbed-logos-mgmt.png: diagrams/testbed-logos.dia
dia -e $@ -L testbed,cd-rd,logos-node,logos-mgmt -s 1024x $<
imgs/testbed-logos-devel.png: diagrams/testbed-logos.dia
dia -e $@ -L testbed,cd-rd,logos-node,logos-mgmt,logos-devel -s 1024x $<
clean:
rm -f $(IMGS) $(IMGS_BEAMER) slides,lightning.pdf slides,lightning.html