Fix generation of as.1 manual page so that it can be converted to DocBook format.
authorNick Clifton <nickc@redhat.com>
Fri, 18 Mar 2016 13:07:33 +0000 (13:07 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 18 Mar 2016 13:07:33 +0000 (13:07 +0000)
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.

etc/texi2pod.pl
gas/ChangeLog
gas/doc/as.texinfo

index cd0ffd9..dd3e181 100644 (file)
@@ -340,7 +340,7 @@ die "No filename or title\n" unless defined $fn && defined $tl;
 $sects{NAME} = "$fn \- $tl\n";
 $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES};
 
-for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT FILES
+for $sect (qw(NAME SYNOPSIS TARGET DESCRIPTION OPTIONS ENVIRONMENT FILES
              BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) {
     if(exists $sects{$sect}) {
        $head = $sect;
index ab383c7..5f362ca 100644 (file)
@@ -1,3 +1,8 @@
+2016-03-18  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo: Place the target specific command line options
+       into their own man page section.
+
 2016-03-16  Jiong Wang  <jiong.wang@arm.com>
 
        * config/tc-arm.c (N_S_32): New.
index a0584d3..7b36931 100644 (file)
@@ -246,8 +246,10 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
  [@b{--target-help}] [@var{target-options}]
  [@b{--}|@var{files} @dots{}]
 @c
+@c man end
 @c Target dependent options are listed below.  Keep the list sorted.
 @c Add an empty line for separation.
+@c man begin TARGET
 @ifset AARCH64
 
 @emph{Target AArch64 options:}