public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Fix gdb/data-directory Makefile-regeneration rule
@ 2021-06-05 15:06 Tom Tromey
  2021-06-05 15:23 ` Hannes Domani
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2021-06-05 15:06 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pushed] Fix gdb/data-directory Makefile-regeneration rule
  2021-06-05 15:06 [pushed] Fix gdb/data-directory Makefile-regeneration rule Tom Tromey
@ 2021-06-05 15:23 ` Hannes Domani
  2021-06-06 13:01   ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Hannes Domani @ 2021-06-05 15:23 UTC (permalink / raw)
  To: gdb-patches, Tom Tromey

 Am Samstag, 5. Juni 2021, 17:06:47 MESZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:

> 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

Should this really say testsuite/Makefile here?


>
> # Disable implicit make rules.
> include $(srcdir)/../disable-implicit-rules.mk
> --
> 2.26.3


Hannes

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pushed] Fix gdb/data-directory Makefile-regeneration rule
  2021-06-05 15:23 ` Hannes Domani
@ 2021-06-06 13:01   ` Tom Tromey
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2021-06-06 13:01 UTC (permalink / raw)
  To: Hannes Domani; +Cc: gdb-patches, Tom Tromey

>> Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
>> -    cd $(top_builddir) && $(MAKE) data-directory/Makefile
>> +    cd .. && $(SHELL) ./config.status testsuite/Makefile

Hannes> Should this really say testsuite/Makefile here?

Yeah.  I fixed it a bit later.

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-06 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05 15:06 [pushed] Fix gdb/data-directory Makefile-regeneration rule Tom Tromey
2021-06-05 15:23 ` Hannes Domani
2021-06-06 13:01   ` Tom Tromey

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).