summaryrefslogtreecommitdiff
path: root/2018/08-26-linuxdev-br-debian-ci/Makefile
blob: 5814b350f915f3bc989c75b56bd5133ca843360d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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): $(source)
	$(SLIDESHOW) --output $@ $<

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

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

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