Fix gdb/data-directory Makefile-regeneration rule
authorTom Tromey <tom@tromey.com>
Sat, 5 Jun 2021 15:04:51 +0000 (09:04 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 5 Jun 2021 15:04:51 +0000 (09:04 -0600)
My recent changes to the gdb build removed a special case for
data-directory/Makefile, but neglected to update the rule in that
Makefile.  This patch fixes the error by rewriting this rule.

gdb/ChangeLog
2021-06-05  Tom Tromey  <tom@tromey.com>

* data-directory/Makefile.in (Makefile): Rewrite.

gdb/ChangeLog
gdb/data-directory/Makefile.in

index 1a8e72559514e8777a09f66badd69ff7758ee70c..59e68118628003d1e40561ddd93bc1d0fa7b8413 100644 (file)
@@ -1,3 +1,7 @@
+2021-06-05  Tom Tromey  <tom@tromey.com>
+
+       * data-directory/Makefile.in (Makefile): Rewrite.
+
 2021-06-05  Tom Tromey  <tromey@adacore.com>
 
        * configure: Rebuild.
index 8b65790cdd9b4637e1d7de80dae9116caff3b941..e1f3cd21a6cb68fd9a5b514af73c7a475c0173fe 100644 (file)
@@ -411,7 +411,7 @@ clean-info:
 MAKEOVERRIDES=
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       cd $(top_builddir) && $(MAKE) data-directory/Makefile
+       cd .. && $(SHELL) ./config.status testsuite/Makefile
 
 # Disable implicit make rules.
 include $(srcdir)/../disable-implicit-rules.mk