summaryrefslogtreecommitdiffstats
path: root/presentations/migrate/Makefile
blob: 9d80c835fef14f1e1e8a16fca08706ad3d697126 (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
27
28
29
30
31
32
33
34
35
36
37
38
PROJECT = fripost-2021-migrate

ALL = \
  $(PROJECT).43.pdf \
  $(PROJECT).169.pdf \

SRC = \
  ../../wiki/e-post/migrate-google.mdwn \
  beamer.sed \
  meta.mdwn \
  survey.mdwn \
  header.tex \

all: $(ALL)

# Project compilation

$(PROJECT).169.pdf: $(SRC)
	cat $< | \
	sed -f beamer.sed | \
	pandoc -s -f markdown -t beamer -H header.tex -V aspectratio=169 -o $@

$(PROJECT).43.pdf: $(SRC)
	cat $< | \
	sed -f beamer.sed | \
	pandoc -s -f markdown -t beamer -H header.tex -V aspectratio=43 -o $@

# For half way verification

sed: $(SRC)
	cat $< | \
	sed -f beamer.sed | \
	less

# Clean

clean:
	rm -fr $(ALL)