diff options
Diffstat (limited to 'annual/2024/motions/Makefile')
-rw-r--r-- | annual/2024/motions/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/annual/2024/motions/Makefile b/annual/2024/motions/Makefile new file mode 100644 index 0000000..244dbc8 --- /dev/null +++ b/annual/2024/motions/Makefile @@ -0,0 +1,11 @@ +YL = $(basename $(wildcard *.yml)) + +all: $(addsuffix .pdf, $(YL)) + +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 $@ |