summaryrefslogtreecommitdiff
path: root/2018/08-26-linuxdev-br-debian-ci/Makefile
blob: 311d5b7f5d3c6298d5d395b59261c9117fe2f463 (plain)
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
presentation = debian-ci

source = $(presentation).md
slideshow = $(presentation)-slideshow.pdf
handout = $(presentation).pdf

PANDOC = pandoc --to beamer
SLIDESHOW = $(PANDOC) --incremental
HANDOUT = $(PANDOC)

all: $(slideshow) $(handout)

slideshow: $(slideshow)

handout: $(handout)

$(slideshow): $(source)
	$(SLIDESHOW) --output $@ $<

$(handout): $(source)
	$(HANDOUT) --output $@ $<

$(slideshow) $(handout): $(wildcard *.png) $(wildcard *.svg)

clean:
	$(RM) $(slideshow) $(handout)