summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)