[PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

Alan Coopersmith alan.coopersmith at oracle.com
Mon Mar 21 17:45:20 PDT 2011

On 03/21/11 05:39 PM, Gaetan Nadon wrote:
> On Mon, 2011-03-21 at 16:59 -0700, Alan Coopersmith wrote:
>> Isn't w3m just one of the choices XMLTO might be using?   I'm not sure we want
>> to try to replicate all the XMLTO configure options in every one of our modules.
> There is also "links" and "lynx". I checked that all platforms have w3m. As a
> backup plan, I can
> add a macro to select one of the 3 in the unlikely event w3m is not available
> and someone
> has no other way of building docbook in text format.
> This is a nice way of turning off w3m for those who have it but do not wish to
> use it.
> We had a few complaints about w3m being used under the cover by xmlto.
> In any case, the work will be done by the macro and not in everyone of our modules.

Will it do anything if you don't modify all the Makefile.am's to add #if
HAVE_W3M ?   If you don't want text documentation generated, we should give
a flag for that instead of guessing which utility xmlto might call to generate
it.   If you want to check if xmlto txt works, then again, it seems like we
should check for that instead.

	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System

More information about the xorg-devel mailing list