diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2024-05-15 19:57:17 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2024-06-02 10:29:38 +0200 |
commit | f546aab8f6c0e83ec4ed02d6005d1c81f42fb8d0 (patch) | |
tree | 62f943db1617e31c6a566b1f7e9c41798ac58c72 /annual/2024/Makefile | |
parent | 4a642cbf9a70c36f489f1ea4e5d3e0330092704e (diff) |
Annual 2024. Copy 2023 files, drafts to agenda, minutes and reports
That includes Makefile and sync script.
Diffstat (limited to 'annual/2024/Makefile')
-rw-r--r-- | annual/2024/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/annual/2024/Makefile b/annual/2024/Makefile new file mode 100644 index 0000000..352b861 --- /dev/null +++ b/annual/2024/Makefile @@ -0,0 +1,56 @@ +#!/usr/bin/env make -f +# +# Makefile for Fripost annual meeting + +SLIDES = agenda +MINUTES = minutes +POLICY = annual-report operational-plan +TRG = 2024-05-19-annual operational-plan-2024 + +# General (reusable) compilation and processing commands + +ALL = \ + $(addsuffix .pdf, $(SLIDES)) \ + $(addsuffix .pdf, $(POLICY)) \ + $(addsuffix .pdf, $(MINUTES)) \ + $(addsuffix .pdf, $(TRG)) + +all: $(ALL) + +$(addsuffix .pdf, $(SLIDES)): %.pdf: %.md + pandoc -s -f markdown -t beamer -o $@ < $< + +$(addsuffix .pdf, $(MINUTES)): %.pdf: %.yml %.md + pandoc -f markdown -t latex \ + --template=fripost-minutes --metadata-file=$*.yml -o $@ $*.md + +$(addsuffix .pdf, $(POLICY)): %.pdf: %.yml %.md + pandoc -f markdown -t latex \ + --template=fripost-by-laws --metadata-file=$*.yml -o $@ $*.md + +send: + make -f ../../resources/Makefile-common \ + send SEND_FILES="$(TRG)" + +clean: + rm -f $(ALL) + rm -f *~ + +# Specific commands for this year 2023 + +2024-05-19-annual.pdf: \ + minutes.pdf \ + annual-report.pdf \ + Balans-och-resultat-2023.pdf \ + revision2023.pdf \ + operational-plan.pdf \ + motions/operational-policy.pdf + pdftk $^ cat output $@ + +motions/example.pdf: + make -C $(dir $@) + +operational-plan-2024.pdf: \ + operational-plan.pdf \ + ../../by-laws/operational-policy-2023.pdf + pdftk $^ cat output $@ |