aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2024-06-02 11:06:00 +0200
committerGustav Eek <gustav.eek@fripost.org>2024-06-02 11:06:00 +0200
commitb520bb4d9182b5b25e8b5cb0835c9e563814b87d (patch)
tree9dbc5177a8a0782fa821fda027d69b0538ed8cc5 /lib/Makefile
parentd1c4545c7ad65f90a6eb75dd466d48585b84f184 (diff)
parente2f3bf264f73048cdddecd7c839e4abacbaa9ee2 (diff)
Merge branch 'ge/2024-05-19-annual'HEADmaster
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 2d71261..535809f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -6,6 +6,7 @@
SLIDES ?= # will be compiled with beamer
MINUTES ?= # will be compiled with *minutes* template
POLICY ?= # will be compiled with *by-laws* template
+REPORTS ?= # will be compiled with *report* template
# Targets
@@ -15,6 +16,7 @@ ALL ?= \
$(addsuffix .pdf, $(SLIDES)) \
$(addsuffix .pdf, $(POLICY)) \
$(addsuffix .pdf, $(MINUTES)) \
+ $(addsuffix .pdf, $(REPORTS)) \
all: $(ALL)
@@ -35,6 +37,12 @@ $(addsuffix .pdf, $(POLICY)): %.pdf: %.md
$$(test -f $*.yml && echo --metadata-file=$*.yml) \
-o $@ $*.md
+$(addsuffix .pdf, $(REPORTS)): %.pdf: %.md
+ pandoc -f markdown -t latex \
+ --template=fripost-report \
+ $$(test -f $*.yml && echo --metadata-file=$*.yml) \
+ -o $@ $*.md
+
# Archive
.PHONY: archive