summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d7f1cf8..361f6de 100644
--- a/Makefile
+++ b/Makefile
@@ -52,8 +52,8 @@ $(stem).mediawiki: $(stem).raw
$(stem).native: $(stem).mediawiki $(localfilters)
$(env_filter) pandoc -f mediawiki $(args_meta) $(args_filter) -o $@ $<
-$(flavors:%=$(stem)-%.tex): $(stem).native $(templates)
- pandoc $(args_meta) $(args_latex) $(args_$(@:$(stem)-%.tex=%)) -o $@ $<
+$(flavors:%=$(stem)-%.tex): $(stem)-%.tex: $(stem).native $(templates)
+ pandoc $(args_meta) $(args_latex) $(args_$*) -o $@ $<
XELATEX = xelatex -no-shell-escape -halt-on-error -interaction=batchmode
%.pdf: %.tex