GNOME Bugzilla – Bug 675087
build: Add --disable-documentation
Last modified: 2012-05-01 17:47:47 UTC
Documentation is the source of many cyclical build loops. Allow operating system builders to manually cut these cycles initially by disabling documentation for a first pass.
Created attachment 213054 [details] [review] build: Add --disable-documentation
any chance you could get --disable-documentation in gnome-doc-utils ? Also if you go this route, you need to make DISTCHECK_CONFIGURE_FLAGS --enable-documentation
(In reply to comment #2) > any chance you could get --disable-documentation in gnome-doc-utils ? gnome-doc-utils itself has a --disable-documentation argument (see 8b4cb9d332b84db970bf446ad9576ad98ba448e5 ) so what I assume you mean here is have it globally add a configure argument via adding it to gnome-doc-utils.m4. While that sounds nice, there are two problems: 1) Not every component generates documentation solely via gnome-doc-utils; namely, using xslt to generate man pages is pretty common. It's been nice so far to have --disable-documentation disable everything. 2) Even if adding it to gnome-doc-utils.m4, I still need to touch every component's Makefile rules to have it use an automake conditional, and if we have to touch everything anyways, having a copy of the 4 lines to add a configure argument is about as easy. > Also if > you go this route, you need to make DISTCHECK_CONFIGURE_FLAGS > --enable-documentation Since it defaults to on, you'll get it in distcheck by default. But I can add it there too to ensure one can run dist/distcheck from a source tree configured this way.
Created attachment 213135 [details] [review] build: Add --disable-documentation Now use --enable-documentation in DISTCHECK_CONFIGURE_FLAGS
Review of attachment 213135 [details] [review]: push push
Attachment 213135 [details] pushed as 7764799 - build: Add --disable-documentation