[PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

Matt Dew marcoz at osource.org
Fri Mar 25 15:57:33 PDT 2011


On 03/23/2011 01:58 PM, Gaetan Nadon wrote:
> On Tue, 2011-03-22 at 14:25 -0700, Dan Nicholson wrote:
>> If you pass -x to xmlto instead of -m, you can use a full stylesheet
>> instead of a fragment. Moving to xsltproc means you have to duplicate
>> the internal smarts of xmlto.
>>
> I have verified -x works as described. This removes one issue with
> xmlto. I would be happy with it if we were simply generating docs. But
> other issues remain.
>
> Generating target dbs. It is more difficult with xmlto. It resolves
> around the fact that we just need an xsl for html and one for fo. Xmlto
> runs 4 times, one for each format. The html xsl is used for html and
> text while the fo xsl is used for pdf and ps.
>
> If I generate the target dbs while generating the doc, I end up with too
> may files, incorrect extensions and dealing with one tool producing
> multiple outpouts.
>
> If I generate the target dbs on their own, I end up with an extra pdf
> file which overwrites the previously generated pdf for the fo format.
> Xmlto fails when collect.xref.targets="only" as it expects the doc in
> /tmp to be there.

Is this a problem in parallel makes?  (make -j3)



More information about the xorg-devel mailing list