diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2022-05-22 10:51:15 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2022-05-22 10:51:15 +0200 |
commit | 2a898f739cddf40dd934efad5349f92aecafc752 (patch) | |
tree | 3664c7fa4d0f2d8c6a053df67d6c1f7a66d9c915 | |
parent | 36ed198049ddd8591521d238b117c4259bc38d3e (diff) |
Annual 2022. Makefile update
-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 $@ $< |