diff options
Diffstat (limited to 'annual/2022/motions')
-rw-r--r-- | annual/2022/motions/Makefile | 14 |
1 files changed, 14 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 $@ $< + |