diff options
-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) |