diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-12-25 13:48:17 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-12-25 13:48:17 +0100 |
commit | fd5f0ad6473c84787c87cfa7637e6e283f970171 (patch) | |
tree | 90598d0b251d1996a23bb3c5c06155d3ef9636c5 /Makefile | |
parent | 0569db414ea03efb53547b8223161e32199e4348 (diff) |
Have pandoc target depend on filters and all templates.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,8 @@ source_basename = EUT/2nd-edition # work around in mediawiki bug parsing blockquote tags on same line re_blockquote = s|\n*(</?blockquote>)\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 $@ $< |