[PATCH] Add support for html/install-html.

Mark Mitchell mark@codesourcery.com
Sat May 20 19:49:00 GMT 2006


Daniel Jacobowitz wrote:
> On Fri, May 19, 2006 at 08:09:35PM -0700, Mark Mitchell wrote:
>> Carlos O'Donell wrote:
>>> The following patch adds "make html" and "make install-html" support.
>> You can install the various pieces of this bit-by-bit, as people approve
>> them.  Since "make html" and "make install-html" are generally busted at
>> the moment, it will not hurt anything to gradually improve things.
>>
>> The following bits:
> 
> Carlos has set 'make html' to automatically descend into every subdir.
> The alternative is to only do so for subdirs which have HTML, which
> doesn't require changing makefiles in every directory which has no HTML
> documentation.  Does anyone have an opinion on which is better?

I don't feel strongly, but I like Carlos' approach; it leverages the
generic top-level recursive behavior.  It seems complicated to have to
maintain lists at the top level of all the directories that support
particular targets, though, of course, that would save adding dummy
targest to the various libraries.  The other minor point in favor of
Carlos' approach is that, to the extent the libraries are theoretically
stand-alone, their Makefiles should support these targets anyhow, per
the GNU coding standards.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list