This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Fix generation of as.1 manual page so that it can be converted to DocBook format.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org, gdb-cvs at sourceware dot org
- Date: 18 Mar 2016 13:09:23 -0000
- Subject: [binutils-gdb] Fix generation of as.1 manual page so that it can be converted to DocBook format.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6387924ae329fe2a89abb48b9868a340e23a9630
commit 6387924ae329fe2a89abb48b9868a340e23a9630
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Mar 18 13:07:33 2016 +0000
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.
Diff:
---
etc/texi2pod.pl | 2 +-
gas/ChangeLog | 5 +++++
gas/doc/as.texinfo | 2 ++
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index cd0ffd9..dd3e181 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -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;
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ab383c7..5f362ca 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index a0584d3..7b36931 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -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:}