aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-12-10 02:42:26 +0000
committerRoland Pesch <pesch@cygnus>1991-12-10 02:42:26 +0000
commit5f92dab820b725ae87317128cdef87392fdd607a (patch)
treea98cb9131804413017ab9331a19ac2de6db282d4 /gdb/doc
parent3e5afc2c5eada1f81b9eeb32cd6c43687480c8ac (diff)
downloadgdb-5f92dab820b725ae87317128cdef87392fdd607a.zip
gdb-5f92dab820b725ae87317128cdef87392fdd607a.tar.gz
gdb-5f92dab820b725ae87317128cdef87392fdd607a.tar.bz2
Massage new readline appendix so texi2roff can understand markup
(text uses new @ftable command which texi2roff-2 doesn't grok) for gdb.mm, gdb.me, gdb.ms targets
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/Makefile.in19
1 files changed, 16 insertions, 3 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index ffc6b6f..abc1a04 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -208,7 +208,11 @@ gdb.info: gdb-${CONFIG}.texi
# gdb manual suitable for [tn]roff -mm
# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
# try leaving them in
-gdb.mm: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
+# ditto special treatment of @ftable in rluser.texinfo
+gdb.mm: gdb-${CONFIG}.texi ${READLINE_DIR}/doc/rluser.texinfo inc-hist.texi
+ sed -e 's/^@ftable/@table/g' \
+ -e 's/^@end ftable/@end table/g' \
+ ${READLINE_DIR}/doc/rluser.texinfo > rluser.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e '/^@ifinfo/,/^@end ifinfo/d' \
@@ -222,9 +226,13 @@ gdb.mm: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
$(TEXI2ROFF) -mm | \
sed -e 's/---/\\(em/g' \
>gdb.mm
+ rm rluser.texinfo
# gdb manual suitable for [gtn]roff -me
-gdb.me: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
+gdb.me: gdb-${CONFIG}.texi ${READLINE_DIR}/doc/rluser.texinfo inc-hist.texi
+ sed -e 's/^@ftable/@table/g' \
+ -e 's/^@end ftable/@end table/g' \
+ ${READLINE_DIR}/doc/rluser.texinfo > rluser.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e '/^@ifinfo/,/^@end ifinfo/d' \
@@ -237,9 +245,13 @@ gdb.me: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
$(TEXI2ROFF) -me | \
sed -e 's/---/\\(em/g' \
>gdb.me
+ rm rluser.texinfo
# gdb manual suitable for [gtn]roff -ms
-gdb.ms: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
+gdb.ms: gdb-${CONFIG}.texi ${READLINE_DIR}/doc/rluser.texinfo inc-hist.texi
+ sed -e 's/^@ftable/@table/g' \
+ -e 's/^@end ftable/@end table/g' \
+ ${READLINE_DIR}/doc/rluser.texinfo > rluser.texinfo
sed -e '/\\input texinfo/d' \
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
-e '/^@ifinfo/,/^@end ifinfo/d' \
@@ -252,6 +264,7 @@ gdb.ms: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
$(TEXI2ROFF) -ms | \
sed -e 's/---/\\(em/g' \
>gdb.ms
+ rm rluser.texinfo
# GDB INTERNALS MANUAL: TeX dvi file
gdbint.dvi : gdbint.texinfo