summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-12-29 16:28:44 +0100
committerJonas Smedegaard <dr@jones.dk>2014-12-29 16:28:54 +0100
commit5376ddaeacecf34f1a5def3ccb094c6fc1bcb855 (patch)
tree98ca6e5490b25d58bd301181e1c9b1f17327c3ba /Makefile
parent68679e30fdaab2d416c9c105146ac8971ddcd8d5 (diff)
Depend only on local (not $PATH resolved) filters.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4193f7..7d3c5e4 100644
--- a/Makefile
+++ b/Makefile
@@ -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)