From fd5f0ad6473c84787c87cfa7637e6e283f970171 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 25 Dec 2014 13:48:17 +0100 Subject: Have pandoc target depend on filters and all templates. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 697cca2..7aa7cd7 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ source_basename = EUT/2nd-edition # work around in mediawiki bug parsing blockquote tags on same line re_blockquote = s|\n*()\n*|\n$$1\n|g +templates = template.tex header.tex before.tex after.tex + filters = ./pandoc-filter-sections ./pandoc-filter-bib export PANDOC_CITEPROC_FILE = $(stem).bib @@ -41,5 +43,5 @@ $(stem).mediawiki: $(stem).raw -e '$(re_blockquote);' \ < $< > $@ -$(stem).pdf: $(stem).mediawiki template.tex +$(stem).pdf: $(stem).mediawiki $(templates) $(filters) pandoc -f mediawiki $(args) -o $@ $< -- cgit v1.2.3