aboutsummaryrefslogtreecommitdiffstats
path: root/board/2022
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2022-11-24 06:55:41 +0100
committerGustav Eek <gustav.eek@fripost.org>2022-11-24 06:55:41 +0100
commitb3fc7a69323fb1ae11172311c14609a5f2d415d1 (patch)
tree0708504b463a6ba696dcab2d12837a0ff26f59b6 /board/2022
parentf96b8c73a0d922e54e7e3a13bef6f234dd08027b (diff)
Add Makefile for 2022
Diffstat (limited to 'board/2022')
-rw-r--r--board/2022/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/board/2022/Makefile b/board/2022/Makefile
new file mode 100644
index 0000000..2b05a32
--- /dev/null
+++ b/board/2022/Makefile
@@ -0,0 +1,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)
+