build-sys: make docbook path find easier to read

Additional gain, when horizontal lists are converted to vertical, is that
each item will be individually version controlled.

Change-Id: I4f12efac9c3d828fafdc7ab8a15740cfb0276538
Reviewed-on: http://gerrit.openafs.org/10014
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
Sami Kerola 2013-06-22 20:20:52 +01:00 committed by Benjamin Kaduk
parent 72ca1e876f
commit a4dc1d8fc0

View File

@ -280,10 +280,22 @@ AC_ARG_WITH([docbook-stylesheets],
AS_HELP_STRING([--with-docbook-stylesheets=ARG],
[location of DocBook stylesheets (default is to search a set of likely paths)]),
[DOCBOOK_STYLESHEETS="$withval"],
[OPENAFS_SEARCH_DIRLIST([DOCBOOK_STYLESHEETS], [/usr/share/xml/docbook/stylesheet/nwalsh/current /usr/share/xml/docbook/stylesheet/nwalsh /usr/share/xml/docbook/xsl-stylesheets /usr/share/sgml/docbook/docbook-xsl-stylesheets /usr/share/sgml/docbook/xsl-stylesheets /usr/share/docbook-xsl /usr/share/sgml/docbkxsl /usr/local/share/xsl/docbook /sw/share/xml/xsl/docbook-xsl /opt/local/share/xsl/docbook-xsl], [$HTML_XSL])
if test "x$DOCBOOK_STYLESHEETS" = "x"; then
AC_WARN([Docbook stylesheets not found; some documentation can't be built])
fi])
[OPENAFS_SEARCH_DIRLIST([DOCBOOK_STYLESHEETS],
[/usr/share/xml/docbook/stylesheet/nwalsh/current \
/usr/share/xml/docbook/stylesheet/nwalsh \
/usr/share/xml/docbook/xsl-stylesheets \
/usr/share/sgml/docbook/docbook-xsl-stylesheets \
/usr/share/sgml/docbook/xsl-stylesheets \
/usr/share/docbook-xsl \
/usr/share/sgml/docbkxsl \
/usr/local/share/xsl/docbook \
/sw/share/xml/xsl/docbook-xsl \
/opt/local/share/xsl/docbook-xsl],
[$HTML_XSL])
AS_IF([test "x$DOCBOOK_STYLESHEETS" = "x"],
[AC_WARN([Docbook stylesheets not found; some documentation can't be built])
])
])
AC_ARG_WITH([dot],
AS_HELP_STRING([--with-dot@<:@=PATH@:>@],