diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9a6210b83b..d6f2c0ed62 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2013-04-06 Jan Kratochvil + + * Makefile.in (POD2MAN1, POD2MAN5): Replace $(VERSION) by ../version.in. + 2013-04-06 Jan Kratochvil Eli Zaretskii diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index b016740527..c3c5130bde 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