From dced17f195d8cb5423daa04bd1fd516b2628c31e Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 17 May 2012 22:59:27 +0000 Subject: [PATCH] Allow custom XSL stylesheets to be applied for HTML output --- doc/docbook.sh | 1 + doc/scripts/docbook.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/docbook.sh b/doc/docbook.sh index ea8513c..78c891b 100755 --- a/doc/docbook.sh +++ b/doc/docbook.sh @@ -93,6 +93,7 @@ while [ $# -gt 0 ]; do case "$ext" in html) XSL="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl" + [ -f "${target%.*}.xsl" ] && XSL="${target%.*}.xsl" instdir="$DATADIR/doc/$ext/$PACKAGE" ;; 1|2|3|4|5|6|7|8|9) diff --git a/doc/scripts/docbook.sh b/doc/scripts/docbook.sh index ea8513c..78c891b 100755 --- a/doc/scripts/docbook.sh +++ b/doc/scripts/docbook.sh @@ -93,6 +93,7 @@ while [ $# -gt 0 ]; do case "$ext" in html) XSL="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl" + [ -f "${target%.*}.xsl" ] && XSL="${target%.*}.xsl" instdir="$DATADIR/doc/$ext/$PACKAGE" ;; 1|2|3|4|5|6|7|8|9)