diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-11-17 01:01:05 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-11-17 01:01:05 +0000 |
commit | dff70155390c65a498472d688e574431f51a5820 (patch) | |
tree | b1fa8ef37abe8015fd5065682f15e7aebe059ad4 /gprof | |
parent | 7b986e992e1a3a388ee0ff0749749f063cc971a6 (diff) | |
download | gdb-dff70155390c65a498472d688e574431f51a5820.zip gdb-dff70155390c65a498472d688e574431f51a5820.tar.gz gdb-dff70155390c65a498472d688e574431f51a5820.tar.bz2 |
* doc/binutils.texi: Include config.texi and @file documentation
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.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 6 | ||||
-rw-r--r-- | gprof/Makefile.am | 7 | ||||
-rw-r--r-- | gprof/Makefile.in | 8 |
3 files changed, 18 insertions, 3 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 0920641..12b41c3 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -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. diff --git a/gprof/Makefile.am b/gprof/Makefile.am index f152477..a0e782b 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -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 | \ diff --git a/gprof/Makefile.in b/gprof/Makefile.in index b05d372..ff69bfc 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -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 | \ |