mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 20:14:06 +08:00
Fix from net: when predigesting doc for texi2roff, search for "@c " at
the beginning of a line, rather than just "@C" at the beginning of a line, to identify (and remove) comments.
This commit is contained in:
parent
45c53080cc
commit
50a39795e2
@ -228,7 +228,7 @@ gdb.mm: gdb-${CONFIG}.texi ${READLINE_DIR}/doc/rluser.texinfo inc-hist.texi
|
||||
sed -e '/\\input texinfo/d' \
|
||||
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
||||
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
||||
-e '/^@c/d' \
|
||||
-e '/^@c /d' \
|
||||
-e 's/{.*,,/{/' \
|
||||
-e '/@noindent/d' \
|
||||
-e 's/@ / /g' \
|
||||
@ -249,7 +249,7 @@ gdb.me: gdb-${CONFIG}.texi ${READLINE_DIR}/doc/rluser.texinfo inc-hist.texi
|
||||
sed -e '/\\input texinfo/d' \
|
||||
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
||||
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
||||
-e '/^@c/d' \
|
||||
-e '/^@c /d' \
|
||||
-e 's/{.*,,/{/' \
|
||||
-e 's/@ / /g' \
|
||||
-e 's/^@alphaenumerate/@enumerate/g' \
|
||||
@ -269,7 +269,7 @@ gdb.ms: gdb-${CONFIG}.texi ${READLINE_DIR}/doc/rluser.texinfo inc-hist.texi
|
||||
sed -e '/\\input texinfo/d' \
|
||||
-e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
|
||||
-e '/^@ifinfo/,/^@end ifinfo/d' \
|
||||
-e '/^@c/d' \
|
||||
-e '/^@c /d' \
|
||||
-e 's/{.*,,/{/' \
|
||||
-e 's/@ / /g' \
|
||||
-e 's/^@alphaenumerate/@enumerate/g' \
|
||||
|
Loading…
Reference in New Issue
Block a user