[master 1/8] Dump gtk-doc.

David Shea dshea at redhat.com
Thu Jul 24 20:33:25 UTC 2014


On 07/24/2014 04:12 PM, Colin Walters wrote:
> On Thu, Jul 24, 2014, at 03:32 PM, David Shea wrote:
>> >Gtk-doc is the worst. Allow me to enumerate:
>> >
>> >   - It adds an option to our autoconf script that causes everything to
>> >     fail if it is disabled. It is disabled by default.
> You can use m4_ifdef to avoid a hard dependency on it.
>
> For example:
> https://git.gnome.org/browse/glib/tree/configure.ac#n2576
>

That's not what I meant (though thanks for mentioning that, it might be 
worthwhile to wrap the gobject-introspection macro in that). I mean the 
part where if you try to run make dist on a tree configured without 
--enable-gtk-doc it does:

make[3]: Entering directory `/home/dshea/src/anaconda/widgets/doc'
*** gtk-doc must be installed and enabled in order to make dist
make[3]: *** [dist-check-gtkdoc] Error 1

Although I just tried with the rawhide gtk-doc, and it appears to just 
ignore --enable/disable-gtk-doc, instead, and build the docs regardless. 
So they fixed half of the problem, I guess.


More information about the anaconda-patches mailing list