From 8b3393b22755f542135f37dfc7ec0d4d14fb7d51 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 4 Sep 2023 23:42:05 +0200 Subject: Makefile ftw --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..def8f44 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +all: eu es + +eu: pdf/eu/1.pdf pdf/eu/2.pdf +es: pdf/es/1.pdf pdf/es/2.pdf + +pdf/%.pdf: %.md template.tex + mkdir -p $(@D) + pandoc -f markdown+smart -t beamer $< -o $@ --pdf-engine=xelatex \ + --template="template.tex" + +clean: + rm -rf pdf + +.PHONY: all clean -- cgit v1.2.3