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
This commit is contained in:
parent
3e5afc2c5e
commit
5f92dab820
1 changed files with 16 additions and 3 deletions
|
@ -208,7 +208,11 @@ gdb.info: gdb-${CONFIG}.texi
|
||||||
# gdb manual suitable for [tn]roff -mm
|
# gdb manual suitable for [tn]roff -mm
|
||||||
# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
|
# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
|
||||||
# try leaving them in
|
# 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' \
|
sed -e '/\\input texinfo/d' \
|
||||||
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
||||||
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
||||||
|
@ -222,9 +226,13 @@ gdb.mm: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
|
||||||
$(TEXI2ROFF) -mm | \
|
$(TEXI2ROFF) -mm | \
|
||||||
sed -e 's/---/\\(em/g' \
|
sed -e 's/---/\\(em/g' \
|
||||||
>gdb.mm
|
>gdb.mm
|
||||||
|
rm rluser.texinfo
|
||||||
|
|
||||||
# gdb manual suitable for [gtn]roff -me
|
# 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' \
|
sed -e '/\\input texinfo/d' \
|
||||||
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
||||||
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
||||||
|
@ -237,9 +245,13 @@ gdb.me: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
|
||||||
$(TEXI2ROFF) -me | \
|
$(TEXI2ROFF) -me | \
|
||||||
sed -e 's/---/\\(em/g' \
|
sed -e 's/---/\\(em/g' \
|
||||||
>gdb.me
|
>gdb.me
|
||||||
|
rm rluser.texinfo
|
||||||
|
|
||||||
# gdb manual suitable for [gtn]roff -ms
|
# 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' \
|
sed -e '/\\input texinfo/d' \
|
||||||
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
||||||
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
||||||
|
@ -252,6 +264,7 @@ gdb.ms: gdb-${CONFIG}.texi rluser.texinfo inc-hist.texi
|
||||||
$(TEXI2ROFF) -ms | \
|
$(TEXI2ROFF) -ms | \
|
||||||
sed -e 's/---/\\(em/g' \
|
sed -e 's/---/\\(em/g' \
|
||||||
>gdb.ms
|
>gdb.ms
|
||||||
|
rm rluser.texinfo
|
||||||
|
|
||||||
# GDB INTERNALS MANUAL: TeX dvi file
|
# GDB INTERNALS MANUAL: TeX dvi file
|
||||||
gdbint.dvi : gdbint.texinfo
|
gdbint.dvi : gdbint.texinfo
|
||||||
|
|
Loading…
Reference in a new issue