Re: [exim-dev] exim-doc/doc-docbook doesn't build

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Simon Arlott
Datum:  
To: exim-dev
Betreff: Re: [exim-dev] exim-doc/doc-docbook doesn't build
On 21/10/09 12:58, Simon Arlott wrote:
> There's a reference to /home/tom/ in one of the source documents:
>
> $ make everything
> ...
> xmlto -x MyStyle-chunk-html.xsl -o spec_html html spec-html.xml
> warning: failed to load external entity "/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl"
> compilation error: file /tmp/exim/exim-doc/doc-docbook/MyStyle-chunk-html.xsl line 10 element import
> xsl:import : unable to load /home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl


The following fixes all the references to docbook files that don't
exist for me:

      sed -e 's:/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk.xsl:' -i MyStyle-chunk-html.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/fo/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl:' -i MyStyle-filter-fo.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl:' -i MyStyle-nochunk-html.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/fo/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl:' -i MyStyle-spec-fo.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl:' -i MyStyle-txt-html.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/template/titlepage.xsl:/usr/share/sgml/docbook/xsl-stylesheets/template/titlepage.xsl:' -i MyTitlepage.templates.xml
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/:/usr/share/sgml/docbook/xsl-stylesheets/:' -i OS-Fixups


--
Simon Arlott