From 93f27a4bba26ac49949252abe767b0e811cd47ae Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 6 Feb 2018 09:18:09 +0100 Subject: [PATCH] Add experimental PDF build rule using Docbook XSL + FOP. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 8eeb2c9..86e6d96 100644 --- a/Makefile +++ b/Makefile @@ -113,6 +113,11 @@ lint-es: $(SOURCE).nb.xml lint-nb: $(SOURCE).nb.xml xmllint $(XMLLINTOPTS) $^ +# Experimental build rule to test Docbook XSL + FOP processor +xsl-fo-%.pdf: %.xml + xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl $^ > $@.fo + fop $@.fo $@ + status: for LANG in $(LANGS); do \ printf "$$LANG "; msgfmt -o /dev/null --statistics po/$$LANG/mwcc.po; \ -- 2.47.2