aboutsummaryrefslogtreecommitdiffstats
path: root/annual/2023/motions/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2023-06-11 16:22:00 +0200
committerGustav Eek <gustav.eek@fripost.org>2024-05-18 22:54:37 +0200
commit503d135ae451324a3afc24cb3a2cce059160c0fb (patch)
tree98f6dba4bc764893a94b406240759565614da2ca /annual/2023/motions/Makefile
parent6464ed64a8190a677ad0aa201ac76e3b938e86e0 (diff)
Annual 2023. Minutes and updates from the meeting
Diffstat (limited to 'annual/2023/motions/Makefile')
-rw-r--r--annual/2023/motions/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/annual/2023/motions/Makefile b/annual/2023/motions/Makefile
index 1f8c327..244dbc8 100644
--- a/annual/2023/motions/Makefile
+++ b/annual/2023/motions/Makefile
@@ -1,7 +1,11 @@
-MD = $(basename $(wildcard *.md))
+YL = $(basename $(wildcard *.yml))
-all: $(addsuffix .pdf, $(MD))
+all: $(addsuffix .pdf, $(YL))
-%.pdf: %.md
- cat $< | sed -f drop.sed |\
- pandoc -s -f markdown -t latex -o $@
+PD = \
+ -N -s -f markdown -t latex -H ../head.tex \
+ -V classoption=a4paper
+
+$(addsuffix .pdf, $(YL)): %.pdf: %.yml %.md
+ cat < $*.md | sed -f ../pre.sed | sed -f drop.sed | \
+ pandoc $(PD) --metadata-file=$*.yml -o $@