aboutsummaryrefslogtreecommitdiffstats
path: root/board/2022/Makefile
blob: 2b05a326f6c18aac6a5c0c96504d5a80e366e703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
MD := $(wildcard *.mdwn)

ALL = $(addsuffix .pdf, $(basename $(MD)))

.PHONY: all

all: $(ALL)

%.pdf: %.mdwn
	cat $< |\
	pandoc -f markdown -t latex \
	-o $@ \
	-V header-includes="\usepackage{fripost}"

clean:
	rm -f $(ALL)