Discussion:
Patch to allow disabling maintainer mode
Anders Olofsson
2013-11-09 21:57:43 UTC
Permalink
The attached patch will allow make rules for generated build files (i.e. configure, Makefile.in, ... ) to be skipped.
This is useful when the source is stored without timestamps (for example in CVS or GIT).

When the build rules trigger to regenerate the build files, it tries to use the same autotools version (currently 1.14) as was originally used for the release. Since many of our build machines run Debian Squeeze, they only have autotools 1.11 available and the build fails.

Currently, we have to work around this by touching all the generated files before building to avoid triggering the make rule. With this patch, we would be able to just run configure with --disable-maintainer-mode instead.
The patch sets the default to enable to not change the default behavior.

/Anders Olofsson
Axis Communications
Lucas De Marchi
2013-11-11 01:43:33 UTC
Permalink
Hi Anders,

On Sat, Nov 9, 2013 at 7:57 PM, Anders Olofsson
Post by Anders Olofsson
The attached patch will allow make rules for generated build files (i.e. configure, Makefile.in, ... ) to be skipped.
This is useful when the source is stored without timestamps (for example in CVS or GIT).
When the build rules trigger to regenerate the build files, it tries to use the same autotools version (currently 1.14) as was originally used for the release. Since many of our build machines run Debian Squeeze, they only have autotools 1.11 available and the build fails.
Currently, we have to work around this by touching all the generated files before building to avoid triggering the make rule. With this patch, we would be able to just run configure with --disable-maintainer-mode instead.
The patch sets the default to enable to not change the default behavior.
The patch has been applied. Please next time send a properly
git-formatted patch so I don't have to hand edit it.

Thanks

Lucas De Marchi

Loading...