aboutsummaryrefslogtreecommitdiffstats
path: root/annual/2023/motions/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/motions/Makefile
parent8f310706f1c517508d37eef48d6c61d4192a639c (diff)
Annual 2023. Update Makefile and remove sync script
Diffstat (limited to 'annual/2023/motions/Makefile')
-rw-r--r--annual/2023/motions/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/annual/2023/motions/Makefile b/annual/2023/motions/Makefile
index 244dbc8..2d6781f 100644
--- a/annual/2023/motions/Makefile
+++ b/annual/2023/motions/Makefile
@@ -1,11 +1,7 @@
-YL = $(basename $(wildcard *.yml))
+POLICY = $(basename $(wildcard *.md))
+ALL = \
+ $(addsuffix .pdf, $(POLICY))
-all: $(addsuffix .pdf, $(YL))
+ROOT = $(shell git rev-parse --show-toplevel)
-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 $@
+include $(ROOT)/lib/Makefile