[MPlayer-users] Slackware: Generating html docs for the svn mplayer

andrew andrew.david.45 at gmail.com
Wed Mar 5 01:22:43 CET 2008


Hi,

 I make sure to generate the html docs from the current svn each time
I update but under a default installation of Slackware 12 there is a
problem in that the required tools to convert the XML documentation
are not found in the location suggested by /DOCS/xml/configure and the
process of generating the docs fails.

 I generate the files with my own clumsily patched /DOCS/xml/configure
but is it possible for the following additions to be made to this file
for the sake of Slackware 12 users? This would mean an automatic
generation of the html files with no additions required:

===================================
Add:

/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog

to:

echo "Searching for XML catalogs..."
for _try_catalog in \
  /etc/sgml/catalog \
  /usr/share/xml/docbook/*/catalog.xml \
  /opt/local/share/xml/docbook-xml/*/catalog.xml \
  /usr/share/sgml/docbook/xml-dtd-4.1.2/xmlcatalog \
  /usr/share/apps/ksgmltools2/customization/en/catalog \
  /usr/share/sgml/catalog \
  /usr/local/share/sgml/catalog \
  /usr/lib/sgml/catalog \
  /usr/local/lib/sgml/catalog \
  /usr/share/docbook-xml42/catalog.xml \
  /usr/share/sgml/docbook/xmlcatalog

===================================
Add:

/usr/share/xml/docbook/xsl-stylesheets-1.72.0/html/chunk.xsl

to:

echo "Searching for html/chunk.xsl..."
for _try_chunk_xsl in \
  /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 \
  /usr/local/share/sgml/docbook/yelp/docbook/html/chunk.xsl \
  /usr/share/docbook-xsl/html/chunk.xsl \
  /usr/share/sgml/docbook/xsl-stylesheets*/html/chunk.xsl \
  /usr/share/xml/docbook/stylesheet/nwalsh/current/html/chunk.xsl \
  /opt/local/share/xsl/docbook-xsl/html/chunk.xsl \

====================================
Add:

/usr/share/xml/docbook/xsl-stylesheets-1.72.0/html/docbook.xsl

to:

echo "Searching for html/docbook.xsl..."
for _try_docbook_xsl in \
  /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 \
  /usr/local/share/sgml/docbook/yelp/docbook/html/docbook.xsl \
  /usr/share/docbook-xsl/html/docbook.xsl \
  /usr/share/sgml/docbook/xsl-stylesheets*/html/docbook.xsl \
  /usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl \
  /opt/local/share/xsl/docbook-xsl/html/docbook.xsl \

==================================

Thanks for your trouble,

     Andrew


-- 
http://www.andrews-corner.org



More information about the MPlayer-users mailing list