aboutsummaryrefslogtreecommitdiffstats
path: root/annual/2023/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'annual/2023/Makefile')
-rw-r--r--annual/2023/Makefile39
1 files changed, 30 insertions, 9 deletions
diff --git a/annual/2023/Makefile b/annual/2023/Makefile
index 81abadc..b38cb80 100644
--- a/annual/2023/Makefile
+++ b/annual/2023/Makefile
@@ -1,17 +1,38 @@
+#!/usr/bin/env make -f
+#
+# Makefile for Fripost annual meeting
+
SLIDES = agenda
-PAPERS = annual-report
+MINUTES = minutes
+POLICY = annual-report operational-plan
+PDF = 2023-06-11-annual operational-plan-2023
+SUFFIX =
-all: \
+ALL = \
$(addsuffix .pdf, $(SLIDES)) \
- $(addsuffix .pdf, $(PAPERS))
+ $(addsuffix .pdf, $(POLICY)) \
+ $(addsuffix .pdf, $(MINUTES)) \
+ $(addsuffix .pdf, $(PDF))
+
+ROOT = $(shell git rev-parse --show-toplevel)
-$(addsuffix .pdf, $(SLIDES)): %.pdf: %.md
- pandoc -s -f markdown -t beamer -o $@ < $<
+include $(ROOT)/lib/Makefile
-$(addsuffix .pdf, $(PAPERS)): %.pdf: %.md
- pandoc -s -f markdown -t latex -o $@ < $<
+# Specific commands for this year 2023
-$(addsuffix .tex, $(PAPERS)): %.tex: %.md
- pandoc -s -f markdown -t latex -o $@ < $<
+2023-06-11-annual.pdf: \
+ minutes.pdf \
+ annual-report.pdf \
+ Balans-och-resultat-2022.pdf \
+ revision2022.pdf \
+ operational-plan.pdf \
+ motions/operational-policy.pdf
+ pdftk $^ cat output $@
+motions/%.pdf:
+ make -C $(dir $@)
+operational-plan-2023.pdf: \
+ operational-plan.pdf \
+ ../../by-laws/operational-policy-2023.pdf
+ pdftk $^ cat output $@