mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
build system: Docbook: look for & prefer -nons XSL stylesheets
This commit is contained in:
parent
2556a08165
commit
3e8fa4b95e
@ -8,7 +8,11 @@ if ! test -z "$DOCBOOK_ROOT"; then
|
|||||||
|
|
||||||
else
|
else
|
||||||
AC_MSG_CHECKING([for DocBook XSL root directory])
|
AC_MSG_CHECKING([for DocBook XSL root directory])
|
||||||
for i in /usr/share/xml/docbook/stylesheet/xsl/nwalsh /usr/share/xml/docbook/stylesheet/nwalsh `ls -d /usr/share/sgml/docbook/xsl-stylesheets* /usr/share/xml/docbook/xsl-stylesheets* 2> /dev/null`; do
|
for i in `ls -d /usr/share/xml/docbook/xsl-stylesheets*-nons 2> /dev/null` \
|
||||||
|
/usr/share/xml/docbook/stylesheet/xsl/nwalsh \
|
||||||
|
/usr/share/xml/docbook/stylesheet/nwalsh \
|
||||||
|
`ls -d /usr/share/sgml/docbook/xsl-stylesheets* /usr/share/xml/docbook/xsl-stylesheets* 2> /dev/null` \
|
||||||
|
; do
|
||||||
if test -f "$i/manpages/docbook.xsl"; then
|
if test -f "$i/manpages/docbook.xsl"; then
|
||||||
DOCBOOK_ROOT="$i"
|
DOCBOOK_ROOT="$i"
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user