[PATCH] contrib: Add autoregen.py

Tom Tromey tom@tromey.com
Fri Apr 19 16:23:47 GMT 2024


>>>>> Christophe Lyon via Gdb <gdb@sourceware.org> writes:

> This script is a copy of the current script used by Sourceware's
> autoregen buildbots.

> It is intended as a helper to regenerate files managed by autotools
> (autoconf, automake, aclocal, ....), as well as the toplevel
> Makefile.in which is created by autogen.

> Other files can be updated when using maintainer-mode, but this is not
> covered by this script.

Thanks for working on this.

> +# these directories are known to be re-generatable with a simple autoreconf
> +# without special -I flags

Can other directories be updated to this same standard?  If not, why
not?  I'm somewhat uncomfortable with the number of special cases in
this script.

I was hoping it would be more like:

top level -> autogen + autoconf
anywhere else with configure.{ac,in} -> autoreconf

Tom


More information about the Gdb mailing list