aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-04-07 06:20:19 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-04-07 06:20:19 +0000
commitafe1492b2117060906ad3cf2d9d62bbbd777f956 (patch)
treeacf22826d1550bebdec1b1587aaf8989115bbc88
parent0ed630cb00f88f00e18bdbc0cc5b9c853fb87963 (diff)
downloadgdb-afe1492b2117060906ad3cf2d9d62bbbd777f956.zip
gdb-afe1492b2117060906ad3cf2d9d62bbbd777f956.tar.gz
gdb-afe1492b2117060906ad3cf2d9d62bbbd777f956.tar.bz2
gdb/doc/
* Makefile.in (gdb.1, gdbserver.1, gdbinit.5): Use $(srcdir).
-rw-r--r--gdb/doc/ChangeLog2
-rw-r--r--gdb/doc/Makefile.in6
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 04cf3a6..eb543bd 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -5,6 +5,8 @@
* Makefile.in (install-man1, install-man5, uninstall-man1)
(uninstall-man5): Replace $(MANS) by $(MAN1S) and $(MAN5S) respectively.
+ * Makefile.in (gdb.1, gdbserver.1, gdbinit.5): Use $(srcdir).
+
2013-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
Eli Zaretskii <eliz@gnu.org>
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index b839036..70086a3 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -593,21 +593,21 @@ annotate/index.html: $(ANNOTATE_DOC_FILES)
# Man pages
gdb.1: $(GDB_DOC_FILES)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dgdb < gdb.texinfo > gdb.pod
+ -$(TEXI2POD) $(MANCONF) -Dgdb < $(srcdir)/gdb.texinfo > gdb.pod
-($(POD2MAN1) gdb.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
rm -f gdb.pod
gdbserver.1: $(GDB_DOC_FILES)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dgdbserver < gdb.texinfo > gdbserver.pod
+ -$(TEXI2POD) $(MANCONF) -Dgdbserver < $(srcdir)/gdb.texinfo > gdbserver.pod
-($(POD2MAN1) gdbserver.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
rm -f gdbserver.pod
gdbinit.5: $(GDB_DOC_FILES)
touch $@
- -$(TEXI2POD) $(MANCONF) -Dgdbinit < gdb.texinfo > gdbinit.pod
+ -$(TEXI2POD) $(MANCONF) -Dgdbinit < $(srcdir)/gdb.texinfo > gdbinit.pod
-($(POD2MAN5) gdbinit.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
rm -f gdbinit.pod