aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
+