diff options
Diffstat (limited to 'annual-reports/Makefile')
-rw-r--r-- | annual-reports/Makefile | 9 |
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 |