* [PATCH] Make "all" depend on "info"
@ 2019-04-06 20:48 Tom Tromey
2019-04-07 2:34 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2019-04-06 20:48 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
I've broken "make info" a couple of times now, because I sometimes
forget to run "make info" after modifying a Texinfo file.
I don't know why gdb's "make all" doesn't build the info pages. I
suspect this was some Cygnus-local oddity back in the day.
This patch changes doc/Makefile.in so that the info pages are built by
"make all". As a point of reference, Automake has essentially always
worked this way. According to the Automake manual (I didn't
double-check) this is required by the GNU coding standards.
The first time I sent this patch, I mentioned that I wanted to look
into some existing bugs in bugzilla about missing "makeinfo".
However, today I tried and I discovered that BFD requires makeinfo,
and builds its info file as part of "all". So, I think this change
doesn't worsen the situation for users in any way, and can simply go
in.
gdb/doc/ChangeLog
2019-04-06 Tom Tromey <tom@tromey.com>
* Makefile.in (all): Depend on "info".
---
gdb/doc/ChangeLog | 4 ++++
gdb/doc/Makefile.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index 39c94dc82bc..2bb8a3051bb 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -182,7 +182,7 @@ HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
###
-all:
+all: info
info: $(INFO_DEPS)
dvi: gdb.dvi stabs.dvi refcard.dvi annotate.dvi
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Make "all" depend on "info"
2019-04-06 20:48 [PATCH] Make "all" depend on "info" Tom Tromey
@ 2019-04-07 2:34 ` Eli Zaretskii
2019-04-07 23:04 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2019-04-07 2:34 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Sat, 6 Apr 2019 14:48:34 -0600
>
> This patch changes doc/Makefile.in so that the info pages are built by
> "make all". As a point of reference, Automake has essentially always
> worked this way. According to the Automake manual (I didn't
> double-check) this is required by the GNU coding standards.
>
> The first time I sent this patch, I mentioned that I wanted to look
> into some existing bugs in bugzilla about missing "makeinfo".
> However, today I tried and I discovered that BFD requires makeinfo,
> and builds its info file as part of "all". So, I think this change
> doesn't worsen the situation for users in any way, and can simply go
> in.
Fine with me, but did you verify the prerequisites won't cause the
manual rebuilt when not necessary? IOW, does INFO_DEPS include
anything except the Texinfo sources?
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-07 23:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-06 20:48 [PATCH] Make "all" depend on "info" Tom Tromey
2019-04-07 2:34 ` Eli Zaretskii
2019-04-07 23:04 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox