<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
<BR>
This option is in use in 259 out of 261 X.Org, mesa and xcb modules. I do not know the history behind this option, but there is no sign of deprecation in the Autoconf docs. <BR>
<BR>
It overrides the default value provided by AM_MAINTAINER_MODE in configure.ac which disables MAINTAINERCLEAN list. This allows git builds to clean files in this list but does not allow (by default) the tarball builder to do the same. If a tarball builder runs 'make maintainer-clean', he may or may not be able to rebuild the tarball.<BR>
<BR>
Removing the option alone will disable the maintainer-clean target for both git builds and tarballs. Removing both the option and the AM_MAINTAINER_MODE will allow maintainer-clean for both git builds and tarballs.
<PRE>
<TT>maintainer-clean-generic:</TT>
<TT> @echo "This command is intended for maintainers to use"</TT>
<TT> @echo "it deletes files that may require special tools to rebuild."</TT>
<TT>maintainer-clean: maintainer-clean-am</TT>
<TT> -rm -f $(am__CONFIG_DISTCLEAN_FILES)</TT>
<TT> -rm -rf $(top_srcdir)/autom4te.cache</TT>
<TT> -rm -f Makefile</TT>
<TT>maintainer-clean-am: distclean-am maintainer-clean-generic</TT>
</PRE>
<BR>
<BR>
<BR>
<BR>
<BR>
On Tue, 2009-10-20 at 12:29 -0700, Jeremy Huddleston wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Shouldn't we be nuking all the "--enable-maintainer-mode" in
autogen.sh now... or do we still want to support the older
toolchains? I thought I saw a commit fly by a few days ago nuking
that from a module.
On Oct 20, 2009, at 10:17, Jon TURNEY wrote:
> ---
> autogen.sh | 11 ++++++++++-
> 1 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index d68a142..904cd67 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -1,3 +1,12 @@
> #! /bin/sh
> +
> +srcdir=`dirname $0`
> +test -z "$srcdir" && srcdir=.
> +
> +ORIGDIR=`pwd`
> +cd $srcdir
> +
> autoreconf -v --install || exit 1
> -./configure "$@"
> +cd $ORIGDIR || exit $?
> +
> +$srcdir/configure --enable-maintainer-mode "$@"
> --
> 1.6.3.3
>
> _______________________________________________
> xorg-devel mailing list
> <A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>
> <A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
_______________________________________________
xorg-devel mailing list
<A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>
<A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>