diff options
Diffstat (limited to 'annual/2022')
-rw-r--r-- | annual/2022/motions/Makefile | 14 | ||||
-rw-r--r-- | annual/2022/reports/Makefile | 7 |
2 files changed, 21 insertions, 0 deletions
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 $@ $< |