1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PNGS = pngs/network-private.png pngs/network-public.png pngs/network-community.png
PNGS_BEAMER = pngs/confine,background.png
.PHONY: clean
all: slides,lightning.pdf
slides,lightning.pdf: script,lightning.txt $(PNGS) slides-header.tex $(PNGS_BEAMER)
pandoc -t beamer -H slides-header.tex slides,lightning.txt -o $@
slides,lightning.html: script,lightning.txt $(PNGS)
pandoc -t dzslides --self-contained script,lightning.txt -o $@
pngs/confine,background.png: logos/confine,logo.svg
inkscape -z -D -e $@ -w 1024 $<
pngs/network-private.png: diagrams/network-private.dia
dia -e $@ -s 1024x $<
pngs/network-public.png: diagrams/network-public.dia
dia -e $@ -s 1024x $<
pngs/network-community.png: diagrams/network-community.dia
dia -e $@ -s 1024x $<
clean:
rm -f $(PNGS) $(PNGS_BEAMER) slides,lightning.pdf slides,lightning.html
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
IMGS = imgs/network-private.png imgs/network-public.png imgs/network-community.png
IMGS_BEAMER = imgs/confine,background.pdf
.PHONY: clean
all: slides,lightning.pdf
slides,lightning.pdf: script,lightning.txt $(IMGS) slides-header.tex $(IMGS_BEAMER)
pandoc -t beamer -H slides-header.tex slides,lightning.txt -o $@
slides,lightning.html: script,lightning.txt $(IMGS)
pandoc -t dzslides --self-contained script,lightning.txt -o $@
imgs/confine,background.pdf: logos/confine,logo.svg
inkscape -z -D -A $@ $<
imgs/network-private.png: diagrams/network-private.dia
dia -e $@ -s 1024x $<
imgs/network-public.png: diagrams/network-public.dia
dia -e $@ -s 1024x $<
imgs/network-community.png: diagrams/network-community.dia
dia -e $@ -s 1024x $<
clean:
rm -f $(IMGS) $(IMGS_BEAMER) slides,lightning.pdf slides,lightning.html
|