aboutsummaryrefslogtreecommitdiffstats
path: root/annual-reports/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2020-05-07 22:05:21 +0200
committerGustav Eek <gustav.eek@fripost.org>2020-05-07 22:05:21 +0200
commitadc1ae8fe14d33062931f32304f52acfb967f28e (patch)
tree2070c6131275a8886e4b257d1e071837fce20eda /annual-reports/Makefile
parent0e08f8bb99b6181cc484f3270c0ef56052e93213 (diff)
Annual 2020. Inital on annual report incl members section
Diffstat (limited to 'annual-reports/Makefile')
-rw-r--r--annual-reports/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/annual-reports/Makefile b/annual-reports/Makefile
index f05651b..c87a7f8 100644
--- a/annual-reports/Makefile
+++ b/annual-reports/Makefile
@@ -1,4 +1,5 @@
ALL = \
+ annual-report-2020-of-2019.pdf \
annual-report-2019.pdf \
economical-report-2019.pdf \
auditors-report-2019.pdf \
@@ -8,6 +9,14 @@ ALL = \
all : $(ALL)
+%.pdf: %.main.tex %._.tex
+ pdflatex -jobname=$(basename $@) $<
+ ! grep -q "Rerun to get cross-references right" $(basename $@).log || \
+ pdflatex -jobname=$(basename $@) $<
+
+%._.tex: %.mdwn
+ pandoc -f markdown -t latex < $< > $@
+
annual-report-2019.pdf: annual-report-2019-master.tex annual-report-2019.tex
pdflatex -jobname=$(basename $@) annual-report-2019-master.tex