Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/tesseract-ocr/tesseract:
  Use universal location for docbook.xsl
  • Loading branch information
zdenop committed Feb 1, 2019
2 parents 114bc50 + 2106cba commit bd7e42d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/generate_manpages.sh
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

man_xslt=/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
man_xslt=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
asciidoc=$(which asciidoc)
xsltproc=$(which xsltproc)
if [[ -z "${asciidoc}" ]] || [[ -z "${xsltproc}" ]]; then
Expand All @@ -27,7 +27,7 @@ else
pagename=${src/.asc/}
(${asciidoc} -d manpage ${src} &&
${asciidoc} -d manpage -b docbook ${src} &&
${xsltproc} ${man_xslt} ${pagename}.xml) ||
${xsltproc} --nonet ${man_xslt} ${pagename}.xml) ||
echo "Error generating ${pagename}"
done
fi
Expand Down

0 comments on commit bd7e42d

Please sign in to comment.