From 2a898f739cddf40dd934efad5349f92aecafc752 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sun, 22 May 2022 10:51:15 +0200 Subject: Annual 2022. Makefile update --- annual/2022/motions/Makefile | 14 ++++++++++++++ annual/2022/reports/Makefile | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100644 annual/2022/motions/Makefile create mode 100644 annual/2022/reports/Makefile diff --git a/annual/2022/motions/Makefile b/annual/2022/motions/Makefile new file mode 100644 index 0000000..bc9ed38 --- /dev/null +++ b/annual/2022/motions/Makefile @@ -0,0 +1,14 @@ +BEAMER := $(basename $(wildcard *.mdwn)) +PAPER := $(basename $(wildcard *.mdwn)) + +all: \ + $(addsuffix .slides.pdf, $(BEAMER)) \ + $(addsuffix .paper.pdf, $(PAPER)) \ + + +$(addsuffix .slides.pdf, $(BEAMER)): %.slides.pdf: %.mdwn + pandoc -f markdown -t beamer -o $@ $< + +$(addsuffix .paper.pdf, $(PAPER)): %.paper.pdf: %.mdwn + pandoc -f markdown -t latex -o $@ $< + diff --git a/annual/2022/reports/Makefile b/annual/2022/reports/Makefile new file mode 100644 index 0000000..5f8f603 --- /dev/null +++ b/annual/2022/reports/Makefile @@ -0,0 +1,7 @@ +PAPER := $(basename $(wildcard *.mdwn)) + +all: \ + $(addsuffix .pdf, $(PAPER)) \ + +$(addsuffix .pdf, $(PAPER)): %.pdf: %.mdwn + pandoc -f markdown -t latex -o $@ $< -- cgit v1.2.3