Automatically update "aclocal_m4_deps" when updating gnulib
authorSergio Durigan Junior <sergiodj@redhat.com>
Sun, 2 Sep 2018 21:11:46 +0000 (17:11 -0400)
committerSergio Durigan Junior <sergiodj@redhat.com>
Tue, 4 Sep 2018 17:58:14 +0000 (13:58 -0400)
commitfcc9b044b7f563023633a9964810e76f4cde40d4
tree595cac642e773ddf9900d3b44a28ceae9c4991d4
parentd53d543682d9add652a82d267681cf6426aded42
Automatically update "aclocal_m4_deps" when updating gnulib

When we update gnulib using our "update-gnulib.sh" tool, it doesn't
automatically update the list of M4 files present at
gnulib/Makefile.in:aclocal_m4_deps.  This patch extends the tool to do
that.  It also puts "aclocal_m4_deps" in its own file (a Makefile
fragment), so that it's easier to update it programatically.

Tested by generating the file and diff'ing the results against the
current version of "aclocal_m4_deps".

gdb/ChangeLog:
2018-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
    Pedro Alves  <palves@redhat.com>

* gnulib/Makefile.in (aclocal_m4_deps): Move to
"aclocal-m4-deps.mk".  Include file here.
$(srcdir)/aclocal.m4: Add "configure.ac".
* gnulib/aclocal-m4-deps.mk: New file.
* gnulib/update-gnulib.sh: Automatically update
"aclocal-m4-deps.mk".
gdb/ChangeLog
gdb/gnulib/Makefile.in
gdb/gnulib/aclocal-m4-deps.mk [new file with mode: 0644]
gdb/gnulib/update-gnulib.sh
This page took 0.024843 seconds and 4 git commands to generate.