From a4dc1d8fc0ae5b9b0130d2524aff0c22fa34faa3 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 22 Jun 2013 20:20:52 +0100 Subject: [PATCH] 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 Reviewed-by: Benjamin Kaduk --- acinclude.m4 | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index cf285449a1..96adde044c 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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@:>@],