diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2020-05-25 17:02:16 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2020-05-25 17:02:16 +0200 |
commit | 4870f32b37a21bfdcdd9f2163457fded8087ae93 (patch) | |
tree | 7f4ba320c98b586bee4c20c83c5cc346b420c404 /annual-meetings | |
parent | bf5d5961cc3ba2aefde334e5c7c88171f8a09f70 (diff) |
Annual 2020. Makefile update
Diffstat (limited to 'annual-meetings')
-rw-r--r-- | annual-meetings/motions/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/annual-meetings/motions/Makefile b/annual-meetings/motions/Makefile index 5dc2426..683f2f4 100644 --- a/annual-meetings/motions/Makefile +++ b/annual-meetings/motions/Makefile @@ -5,16 +5,22 @@ ALL = $(TEX) $(PDF) PREAMBLE = preamble_.tex acronyms_.tex attendants_.tex -print: - echo $(ALL) - all: $(ALL) %_.tex: %.mdwn - cat < $< | sed -e 's/SCB/\\scb\\/g' -e 's/^$$/\\mypar\n/' | pandoc -f markdown -t latex > $@ + cat < $< | sed -e 's/^$$/\\mypar\n/' |\ + sed -f ../../preamble/acronyms.sed \ + -f ../../preamble/attendants.sed \ + -f ../../preamble/snippets.sed |\ + pandoc -f markdown -t latex > $@ + + + motions-%.pdf: %.main.tex $(TEX) $(PREAMBLE) pdflatex -jobname=$(basename $@) $< + ! grep -q "Rerun.*right" $(basename $@).log ||\ + pdflatex -jobname=$(basename $@) $< clean: rm -f $(ALL) |