diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |