summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-01-10 04:22:08 +0100
committerJonas Smedegaard <dr@jones.dk>2015-01-10 04:22:08 +0100
commit3dc780f668a50e894e9807e1b26643becb404378 (patch)
tree299623999376b94b97c37fcc03f0940a7f6d61c1 /Makefile
parent0ab293f436790cffcc77d0d963a483fb60d659a8 (diff)
Drop intermediary .tex targets (unneeded with memoir-based sidenote rendering).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 774bd70..0d610f1 100644
--- a/Makefile
+++ b/Makefile
@@ -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)