[MPlayer-dev-eng] [PATCH] To allow Slackware 12 to build xml docs

andrew andrew.david.45 at gmail.com
Thu Mar 6 06:28:03 CET 2008


Hi,

On closer examination I have future-proofed things a little as I
believe Slackware will probably keep the same directory structure in
future releases but alter the version numbers.

Revised version attached,

   Andrew

-- 
http://www.andrews-corner.org
-------------- next part --------------
Index: DOCS/xml/configure
===================================================================
--- DOCS/xml/configure	(revision 26178)
+++ DOCS/xml/configure	(working copy)
@@ -8,6 +8,7 @@
 
 echo "Searching for XML catalogs..."
 for _try_catalog in \
+  /usr/share/sgml/docbook/*/catalog \
   /etc/sgml/catalog \
   /usr/share/xml/docbook/*/catalog.xml \
   /opt/local/share/xml/docbook-xml/*/catalog.xml \
@@ -40,6 +41,7 @@
 echo "Searching for stylesheets..."
 echo "Searching for html/chunk.xsl..."
 for _try_chunk_xsl in \
+  /usr/share/xml/docbook/*/html/chunk.xsl \
   /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl \
   /usr/share/sgml/docbook/yelp/docbook/html/chunk.xsl \
   /usr/local/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl \
@@ -68,6 +70,7 @@
 
 echo "Searching for html/docbook.xsl..."
 for _try_docbook_xsl in \
+  /usr/share/xml/docbook/*/html/docbook.xsl \
   /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl \
   /usr/share/sgml/docbook/yelp/docbook/html/docbook.xsl \
   /usr/local/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl \


More information about the MPlayer-dev-eng mailing list