]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Introduce makefile variable for dblatex options.
authorPetter Reinholdtsen <pere@hungry.com>
Fri, 2 Feb 2018 07:45:21 +0000 (07:45 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 22 Feb 2018 18:12:09 +0000 (18:12 +0000)
Makefile

index a36377c9ee30968951f7510762c5f1efd213a782..55a93f6dd526e63c635936f5bb5c8e1da55c66d3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -78,10 +78,11 @@ epub: $(SOURCE).epub
 %.epub: %.xml
        dbtoepub $^
 
+DBLATEX_OPTS = -T simple -t tex -b xetex -p extra/pdf.xsl
 # Replace Unicode Hair Space (U+200A) with space, as &hairsp; is not
 # handled by LaTeX/dblatex, see <URL: https://bugs.debian.org/889603 >.
 %.tex: %.xml
-       dblatex -T simple -t tex -b xetex -p extra/pdf.xsl $^
+       dblatex $(DBLATEX_OPTS) $^
        perl -p -i -e 's/\\caption\\end/\\caption{} \\end/; \
                s/ / /g; \
                s/\\chapter\{(Colophon|Dedication)\}/\\chapter*{}/; \