From b3fc7a69323fb1ae11172311c14609a5f2d415d1 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Thu, 24 Nov 2022 06:55:41 +0100 Subject: Add Makefile for 2022 --- board/2022/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 board/2022/Makefile (limited to 'board') 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) + -- cgit v1.2.3