* doc/binutils.texi: Include config.texi and @file documentation
authorMark Mitchell <mark@codesourcery.com>
Thu, 17 Nov 2005 01:01:05 +0000 (01:01 +0000)
committerMark Mitchell <mark@codesourcery.com>
Thu, 17 Nov 2005 01:01:05 +0000 (01:01 +0000)
for manual pages.

* Makefile.am (gprof.info, gprof.1): Depend on config.texi.
(config.texi): New file.
* Makefile.in: Regenerated.

* Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
* Makefile.in: Regenerated.
* ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
Add @file documentation.

binutils/ChangeLog
binutils/doc/binutils.texi
gprof/ChangeLog
gprof/Makefile.am
gprof/Makefile.in
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/ld.texinfo

index a84b9b36c1abbdb1422b0861e133fcd963e522d9..e04e13dcc24630d24947794226ab5a58fcb62e06 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-16  Mark Mitchell  <mark@codesourcery.com>
+
+       * doc/binutils.texi: Include config.texi and @file documentation
+       for manual pages.
+
 2005-11-15  Jan Beulich  <jbeulich@novell.com>
 
        * objcopy.c (keep_file_symbols): New.
index ee5114c67558b9343ccd0c960888c4e27dd1a4d0..828eb5d2f39c1325562f64c8556f31d0afa8e42e 100644 (file)
@@ -2,7 +2,9 @@
 @setfilename binutils.info
 @c Copyright 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
+@c man begin INCLUDE
 @include config.texi
+@c man end
 
 @ifinfo
 @format
@@ -3505,8 +3507,10 @@ objdump(1), and the Info entries for @file{binutils}.
 The following command-line options are supported by all of the
 programs described in this manual.
 
+@c man begin OPTIONS
 @table @env
 @include @value{top_srcdir}/../libiberty/at-file.texi
+@c man end
 
 @item --help
 Display the command-line options supported by the program.
@@ -3514,7 +3518,9 @@ Display the command-line options supported by the program.
 @item --version
 Display the version number of the program.
 
+@c man begin OPTIONS
 @end table
+@c man end
 
 @node Selecting The Target System
 @chapter Selecting the Target System
index 0920641aa3498e0b47803879cf8733e1d063a515..12b41c3d0a63412281d7f3a06557196518691d74 100644 (file)
@@ -1,3 +1,9 @@
+2005-11-16  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.am (gprof.info, gprof.1): Depend on config.texi.
+       (config.texi): New file.
+       * Makefile.in: Regenerated.
+
 2005-11-07  Steve Ellcey  <sje@cup.hp.com>
 
        * configure: Regenerate after modifying bfd/warning.m4.
index f152477be85602254e5e5f7e398e30686218f0f1..a0e782b0fd489dead2128631f2b86d2314d5c1f8 100644 (file)
@@ -58,10 +58,15 @@ POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
 info_TEXINFOS = gprof.texi
 man_MANS = gprof.1
 
+$(srcdir)/gprof.info: gprof.texi config.texi
+
+config.texi:
+       echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
+
 # Build the man page from the texinfo file
 # The sed command removes the no-adjust Nroff command so that
 # the man output looks standard.
-gprof.1: $(srcdir)/gprof.texi
+gprof.1: $(srcdir)/gprof.texi config.texi
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
        -($(POD2MAN) gprof.pod | \
index b05d372981473d0aa20b157e8115fc7a4503ffb0..ff69bfc4f30601e6d6ba07b482b305f0ebd2ddb1 100644 (file)
@@ -407,7 +407,6 @@ distclean-libtool:
            rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
          exit 1; \
        fi
-$(srcdir)/gprof.info: gprof.texi 
 gprof.dvi: gprof.texi 
 gprof.pdf: gprof.texi 
 gprof.html: gprof.texi 
@@ -783,10 +782,15 @@ po/POTFILES.in: @MAINT@ Makefile
        for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
          && mv tmp $(srcdir)/po/POTFILES.in
 
+$(srcdir)/gprof.info: gprof.texi config.texi
+
+config.texi:
+       echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
+
 # Build the man page from the texinfo file
 # The sed command removes the no-adjust Nroff command so that
 # the man output looks standard.
-gprof.1: $(srcdir)/gprof.texi
+gprof.1: $(srcdir)/gprof.texi config.texi
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
        -($(POD2MAN) gprof.pod | \
index 68c2d5da59e7f7276bdabf588fd56af244790706..42b4da8bb8ec62a007d1388818ba7652da1354b4 100644 (file)
@@ -1,3 +1,10 @@
+2005-11-16  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
+       * Makefile.in: Regenerated.
+       * ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
+       Add @file documentation.
+       
 2005-11-17  Alan Modra  <amodra@bigpond.net.au>
 
        * ldlang.h (lang_input_section_type): Remove "ifile" field.
index 9f79ec9ef0377fe91dc2cfb73f4d229df1450999..bd6ca20b12c0fcb92adcb7e1fd4fc52d0032b1b8 100644 (file)
@@ -1652,9 +1652,8 @@ bootstrap: ld3$(EXEEXT)
 # because almost all configs use "gen" version of manual.
 #  Set DOCVER above to change.
 configdoc.texi:        ${DOCVER}-doc.texi
-       ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
-         || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
-         || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
+       cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
+       echo "@set top_srcdir $(top_srcdir)" >> ./configdoc.texi
 
 ldver.texi: $(srcdir)/../bfd/configure
        rm -f $@
index b00cbbf6023be28a04236d0d4fe37d9dce57eac7..f9bce2c48e2c265c1019533d95fabead96db104b 100644 (file)
@@ -2445,9 +2445,8 @@ bootstrap: ld3$(EXEEXT)
 # because almost all configs use "gen" version of manual.
 #  Set DOCVER above to change.
 configdoc.texi:        ${DOCVER}-doc.texi
-       ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
-         || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
-         || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
+       cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
+       echo "@set top_srcdir $(top_srcdir)" >> ./configdoc.texi
 
 ldver.texi: $(srcdir)/../bfd/configure
        rm -f $@
index c08f6927c2e6ddc7bd50e9ea3d9bbbb548b59561..172ea7a12130f70237a0b4e4379f547f6ac0c343 100644 (file)
@@ -3,9 +3,11 @@
 @c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 @c 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 @syncodeindex ky cp
+@c man begin INCLUDE
 @include configdoc.texi
 @c (configdoc.texi is generated by the Makefile)
 @include ldver.texi
+@c man end
 
 @c @smallbook
 
@@ -340,6 +342,8 @@ Here is a table of the generic command line switches accepted by the GNU
 linker:
 
 @table @gcctabopt
+@include @value{top_srcdir}/../libiberty/at-file.texi
+
 @kindex -a@var{keyword}
 @item -a@var{keyword}
 This option is supported for HP/UX compatibility.  The @var{keyword}
This page took 0.044676 seconds and 4 git commands to generate.