]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Introduce makefile variable for dblatex options.
[text-madewithcc.git] / 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   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*{}/; \