diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2024-06-02 11:06:00 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2024-06-02 11:06:00 +0200 |
commit | b520bb4d9182b5b25e8b5cb0835c9e563814b87d (patch) | |
tree | 9dbc5177a8a0782fa821fda027d69b0538ed8cc5 /lib/Makefile | |
parent | d1c4545c7ad65f90a6eb75dd466d48585b84f184 (diff) | |
parent | e2f3bf264f73048cdddecd7c839e4abacbaa9ee2 (diff) |
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 8 |
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 |