diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -65,21 +65,12 @@ $(mediawiki_includes:.mw=.tex): %.tex: %.mw $(stem).mw $(markdown_includes:.md=.tex): %.tex: %.md pandoc -f markdown -t latex --chapters -o $@ $< -$(flavors:%=$(stem)-%.tex): $(stem)-%.tex: $(stem).native $(templates) $(includes) +$(flavors:%=$(stem)-%.pdf): $(stem)-%.pdf: $(stem).native $(templates) $(includes) pandoc --standalone $(args_meta) $(args_latex) $(args_$*) -o $@ $< -XELATEX = xelatex -no-shell-escape -halt-on-error -interaction=batchmode -%.pdf: %.tex - $(XELATEX) $< - $(XELATEX) $< - $(XELATEX) $< - $(XELATEX) $< - clean: - rm -f $(foreach ext,pdf aux log out toc tex,$(flavors:%=$(stem)-%.$(ext))) rm -f $(foreach ext,native bib mw,$(stem:%=%.$(ext))) - rm -f $(foreach ext,aux tex,$(includes:%.tex=%.$(ext))) - rm -f $(mediawiki_includes) + rm -f $(includes) $(mediawiki_includes) distclean: clean rm -f $(stem:%=%.raw) |