GNOME Bugzilla – Bug 653429
drop AM_MAINTAINER_MODE or enable it by default
Last modified: 2011-06-27 13:19:34 UTC
Currently, doing an ./autogen.sh of GLib results in Makefiles that don't rebuild themselves on changes. That's quite annoying. It's caused by our use of AM_MAINTAINER_MODE, which disables those rules unless --enable-maintainer-mode is given to ./configure. We used to give that to ./configure from autogen.sh, but Javier removed that with commit d2d3449a8ef4e3ad7236ed83a5ed0ce6a2b0e69f on May 16. Short of adding it back (which I do not favour), there are two fixes: - remove AM_MAINTAINER_MODE so that the rules are always enabled - use AM_MAINTAINER_MODE([enable]) so that we get it unless --disable-maintainer-mode is explicitly given --disable-maintainer-mode makes absolutely no sense to me, but apparently some vendors like it because it allows them to patch things and suppress the rebuilds that would otherwise occur. It might be worth keeping it for that reason.
After some discussion, seems that the preferred option is to use the macro but enabled by default: AM_MAINTAINER_MODE([enable]) See https://live.gnome.org/GnomeGoals/ModernAutotools
commit b07f2833c0d2ab8282fae0c19ef065a38721a985 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 27 11:28:55 2011 +0100 Change to AM_MAINTAINER_MODE([enable]) Fixes https://bugzilla.gnome.org/show_bug.cgi?id=653429