Commit Graph

13 Commits

Author SHA1 Message Date
Simon Marchi c12081a66b texi2pod.pl: import support for @t{...} from gcc
GDB's man page source (in gdb.texinfo) contains:

    @t{++}

The @t{...} part is supposed to display the wrapped text with a
fixed-width font.  The texi2pod.pl script currently doesn't handle
@t{...}, so it appears as-is in the man page:

    You can use GDB to debug programs written in C, C@t{++}, Fortran and Modula-2.

gcc's version of texi2pod.pl (at contrib/texi2pod.pl in gcc's repo)
replaces @t{...} with the wrapped text as-is, which I think is an
acceptable behavior.  The fixed-width font distinction is not really
important for a man page, where the text will be displayed with whatever
font the user is using.

Import the line that does that from gcc's version.

I have verified that there is no other, unwanted change in man pages
generated in binutils' and GDB's doc, with this patch applied.

etc/ChangeLog:

	* texi2pod.pl: Handle @t{...} tags.
2020-01-15 12:58:09 -05:00
Alan Modra 827041555a Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
Alan Modra 219d1afa89 Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
Alan Modra 7c2a23b23e update-copyright.py for binutils
This is a modified form of gcc's contrib/update-copyright.py.

	* update-copyright.py: New file.
	* add-log.el: Update copyright year range.
	* texi2pod.pl: Likewise.
2017-01-05 00:03:07 +10:30
Nick Clifton 69c9e028b6 Fix compile time warning messages building with gcc v6.1.1
etc	* texi2pod.pl: Escape curly braces, whilst searching for keyword
	strong.

gas	* config/tc-arm.c: For non-ELF based targets skip ARM feature sets
	that are not supported.

	* config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
	constant.
	* config/tc-cr16.c (check_range): Likewise.
	* config/tc-nios2.c (nios2_check_overflow): Likewise.
2016-06-13 10:49:26 +01:00
Nick Clifton 6387924ae3 Fix generation of as.1 manual page so that it can be converted to DocBook format.
gas	* doc/as.texinfo: Place the target specific command line options
	into their own man page section.

etc	* texi2pod.pl: Add TARGET to the list of recognised man page
	sections.
2016-03-18 13:07:33 +00:00
Eric Christopher f5fb443987 2007-04-04 Eric Christopher <echristo@apple.com>
Move from gcc:
        2007-04-04  Zack Weinberg  <zack@mrtock.ucsd.edu>

                * texi2pod.pl: Correct handling of @itemize with no argument.

        2007-02-16  Matthias Klose  <doko@debian.org>

                * texi2pod.pl: Handle @subsubsection, ignore @anchor.

        2007-02-06  Richard Sandiford  <richard@codesourcery.com>

                * texi2pod.pl: Handle @multitable.
2007-04-05 05:55:51 +00:00
Daniel Jacobowitz 261dd81b26 * texi2pod.pl: Correct handling of absolute @include. 2006-05-31 15:47:48 +00:00
Daniel Jacobowitz b02e2fdabe * texi2pod.pl: Handle -I. 2006-05-02 13:59:42 +00:00
Mark Mitchell a2136c6ef2 * texi2pod.pl: Substitue for @value even when part of @include. 2005-10-21 23:29:22 +00:00
Bob Wilson eb04889954 * texi2pod.pl: Import latest version from GCC. 2005-10-21 18:08:07 +00:00
Nick Clifton cef717dccf Import latest version of texi2pod.pl from FSF GCC sources. 2002-06-11 15:34:33 +00:00
Nick Clifton 8a5613f978 oops - omitted from previous delta 2001-03-26 21:42:48 +00:00