diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-12-31 19:08:50 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-12-31 19:08:50 +0100 |
commit | ff858cc0f4de80fb84c7c65875d59eeff82bb070 (patch) | |
tree | cfa75e47c3598f7b29bd87a1d31c06e3422c0c2c /Makefile | |
parent | f89b78b463c108eed766a9ea7d930043e0a457d8 (diff) |
Tidy makefile: Use make stem for target flavour.
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 |