public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [pushed] Fix gdb/data-directory Makefile-regeneration rule
Date: Sat,  5 Jun 2021 09:06:11 -0600	[thread overview]
Message-ID: <20210605150611.2414296-1-tom@tromey.com> (raw)

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                  | 4 ++++
 gdb/data-directory/Makefile.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in
index 8b65790cdd9..e1f3cd21a6c 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 $(top_builddir) && $(MAKE) data-directory/Makefile
+	cd .. && $(SHELL) ./config.status testsuite/Makefile
 
 # Disable implicit make rules.
 include $(srcdir)/../disable-implicit-rules.mk
-- 
2.26.3


             reply	other threads:[~2021-06-05 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-05 15:06 Tom Tromey [this message]
2021-06-05 15:23 ` Hannes Domani
2021-06-06 13:01   ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210605150611.2414296-1-tom@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).