diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-12-29 16:28:44 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-12-29 16:28:54 +0100 |
commit | 5376ddaeacecf34f1a5def3ccb094c6fc1bcb855 (patch) | |
tree | 98ca6e5490b25d58bd301181e1c9b1f17327c3ba /Makefile | |
parent | 68679e30fdaab2d416c9c105146ac8971ddcd8d5 (diff) |
Depend only on local (not $PATH resolved) filters.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -17,6 +17,8 @@ filters += $(if $(PANDOC_CITEPROC_FILE),pandoc-citeproc) filters += ./pandoc-iri +localfilters = $(filter ./%,$(filters)) + # To produce final document: make -B STATUS=final STATUS ?= draft @@ -56,7 +58,7 @@ $(stem).mediawiki: $(stem).raw -e '$(re_urlencode);' \ < $< > $@ -$(stem).native: $(stem).mediawiki $(filters) +$(stem).native: $(stem).mediawiki $(localfilters) pandoc -f mediawiki $(args_meta) $(args_filter) -o $@ $< $(flavors:%=$(stem)-%.pdf) $(stem).tex: $(stem).native $(templates) |