[lttng-dev] [PATCH babeltrace] Use autoconf AM_MAINTAINER_MODE.

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed Mar 12 14:59:37 EDT 2014


----- Original Message -----
> From: "Lars Persson" <lars.persson at axis.com>
> To: lttng-dev at lists.lttng.org
> Cc: "Lars Persson" <larper at axis.com>
> Sent: Wednesday, March 12, 2014 5:05:17 AM
> Subject: [lttng-dev] [PATCH babeltrace] Use autoconf AM_MAINTAINER_MODE.
> 
> Give distribution maintainers the option to skip rebuilding
> autoconf and automake generated files. The default behaviour
> is still to have the rebuild rules enabled.

I just did some reading on this, and found:

http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/

So, in what use-case is --disable-maintainer-mode useful nowadays ? All
it seems to do is to stop ensuring that Makefile are consistent with changes
to Makefile.am.

Thanks,

Mathieu

> 
> Signed-off-by: Lars Persson <larper at axis.com>
> ---
>  configure.ac |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 7a98612..faa3f98 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config])
>  AC_CANONICAL_TARGET
>  AC_CANONICAL_HOST
>  AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
> +AM_MAINTAINER_MODE([enable])
>  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
>  
>  AC_CONFIG_MACRO_DIR([m4])
> --
> 1.7.2.5
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list