aboutsummaryrefslogtreecommitdiffstats
path: root/annual/2023/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2024-05-15 12:35:45 +0200
committerGustav Eek <gustav.eek@fripost.org>2024-05-18 22:59:57 +0200
commit6360540b84a3c532957f1fdfaf0f64429ec19be5 (patch)
tree94e4d942e84627a2db52bc0ad72b343b017b92f5 /annual/2023/Makefile
parent8f310706f1c517508d37eef48d6c61d4192a639c (diff)
Annual 2023. Update Makefile and remove sync script
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 $@