aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
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