aboutsummaryrefslogtreecommitdiffstats
path: root/annual/2023/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2023-06-11 08:37:00 +0200
committerGustav Eek <gustav.eek@fripost.org>2024-05-18 22:54:37 +0200
commit1cf5b660f28ac5a82c9149c0f449f5cb9a0080fb (patch)
tree7eac0f2f55ef062c82d9fcc54e30e7c7b7f3ecd3 /annual/2023/Makefile
parent9f5ad1c4a0b3f26a6029c1f5d19b1524151a7735 (diff)
Annual 2023. Add makefile and sync scripts
Diffstat (limited to 'annual/2023/Makefile')
-rw-r--r--annual/2023/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/annual/2023/Makefile b/annual/2023/Makefile
new file mode 100644
index 0000000..81abadc
--- /dev/null
+++ b/annual/2023/Makefile
@@ -0,0 +1,17 @@
+SLIDES = agenda
+PAPERS = annual-report
+
+all: \
+ $(addsuffix .pdf, $(SLIDES)) \
+ $(addsuffix .pdf, $(PAPERS))
+
+$(addsuffix .pdf, $(SLIDES)): %.pdf: %.md
+ pandoc -s -f markdown -t beamer -o $@ < $<
+
+$(addsuffix .pdf, $(PAPERS)): %.pdf: %.md
+ pandoc -s -f markdown -t latex -o $@ < $<
+
+$(addsuffix .tex, $(PAPERS)): %.tex: %.md
+ pandoc -s -f markdown -t latex -o $@ < $<
+
+