[pushed] Really fix data-directory/Makefile rebuilding

Message ID 20210605152748.2436465-1-tom@tromey.com
State New
Headers show
Series
  • [pushed] Really fix data-directory/Makefile rebuilding
Related show

Commit Message

Tom Tromey June 5, 2021, 3:27 p.m.
Oops, I botched the last patch to fix data-directory/Makefile
rebuilding, by copying the config.status line and forgetting to update
the directory name.  This one fixes the problem for real.

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

	* data-directory/Makefile.in (Makefile): Use correct directory
	name.
---
 gdb/ChangeLog                  | 5 +++++
 gdb/data-directory/Makefile.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.26.3

Patch

diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in
index e1f3cd21a6c..888325f974e 100644
--- a/gdb/data-directory/Makefile.in
+++ b/gdb/data-directory/Makefile.in
@@ -411,7 +411,7 @@  clean-info:
 MAKEOVERRIDES=
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-	cd .. && $(SHELL) ./config.status testsuite/Makefile
+	cd .. && $(SHELL) ./config.status data-directory/Makefile
 
 # Disable implicit make rules.
 include $(srcdir)/../disable-implicit-rules.mk