Re: [commit] [doc patch] gdbserver.1: Document all the options and --multi

Jan Kratochvil
2013-04-06T11:24:53Z

On Sat, 06 Apr 2013 11:31:42 +0200, Eli Zaretskii wrote:
> It seems to come from this line in gdb.1:
>
> .TH GDB 1 "2013-04-06" "gdb-" "GNU Development Tools"

True, I have introduced a copy-paste bug.

Thanks,
Jan

gdb/doc/
2013-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>

* Makefile.in (POD2MAN1, POD2MAN5): Replace $(VERSION) by ../version.in.

diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index b016740..c3c5130 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -172,9 +172,9 @@ TEXI2POD = perl $(srcdir)/../../etc/texi2pod.pl \
$(MAKEINFOFLAGS) $(MAKEINFO_EXTRA_FLAGS)

POD2MAN1 = pod2man --center="GNU Development Tools" \
- --release="gdb-$(VERSION)" --section=1
+ --release="gdb-`sed q $(srcdir)/../version.in`" --section=1
POD2MAN5 = pod2man --center="GNU Development Tools" \
- --release="gdb-$(VERSION)" --section=5
+ --release="gdb-`sed q $(srcdir)/../version.in`" --section=5

# List of man pages generated from gdb.texi
MAN1S = gdb.1 gdbserver.1