diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-12-12 14:31:48 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-12-12 14:31:48 +0000 |
commit | 37d037c12dfbea00a85ee927fc6d9904dbeaf1bb (patch) | |
tree | e376d1d895a0daf383f6b6fc638620e8b668b65c /gprof | |
parent | 67f744f3bcb1ac18f5a9a1394e6b6344fd5284c6 (diff) | |
download | binutils-gdb-37d037c12dfbea00a85ee927fc6d9904dbeaf1bb.tar.gz |
bfd/
* doc/Makefile.am (bfd_TEXINFOS): Set.
(bfd.info bfd.dvi bfd.html): Delete rule.
* doc/Makefile.in: Regenerated.
gas/
* doc/Makefile.am (as_TEXINFOS): Set.
(as.info as.dvi as.html): Delete rule.
* doc/Makefile.in: Regenerated.
gprof/
* Makefile.am (gprof_TEXINFOS): Set.
(gprof.info gprof.dvi gprof.html): Delete rule.
* Makefile.in: Regenerated.
ld/
* Makefile.am (ld_TEXINFOS): Set.
(ld.info ld.dvi ld.html): Delete rule.
* Makefile.in: Regenerated.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 6 | ||||
-rw-r--r-- | gprof/Makefile.am | 3 | ||||
-rw-r--r-- | gprof/Makefile.in | 29 |
3 files changed, 30 insertions, 8 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index cc2c54accba..a3ac41fbbf9 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +2006-12-12 Daniel Jacobowitz <dan@codesourcery.com> + + * Makefile.am (gprof_TEXINFOS): Set. + (gprof.info gprof.dvi gprof.html): Delete rule. + * Makefile.in: Regenerated. + 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com> * configure.in: Define GENINSRC_NEVER. diff --git a/gprof/Makefile.am b/gprof/Makefile.am index ea3fa4a1cbd..ba93be11ee5 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -59,10 +59,9 @@ TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1 info_TEXINFOS = gprof.texi +gprof_TEXINFOS = config.texi man_MANS = gprof.1 -gprof.info: gprof.texi config.texi - config.texi: echo "@set top_srcdir $(top_srcdir)" >> ./config.texi diff --git a/gprof/Makefile.in b/gprof/Makefile.in index d2d79718714..cf5059941dd 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -45,7 +45,7 @@ DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub README \ $(srcdir)/gconfig.in $(srcdir)/../mkinstalldirs \ $(top_srcdir)/po/Make-in $(srcdir)/../ltmain.sh \ $(srcdir)/../config.guess $(srcdir)/../config.sub \ - $(noinst_HEADERS) + $(gprof_TEXINFOS) $(noinst_HEADERS) subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ @@ -261,6 +261,7 @@ MANCONF = -Dman TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1 info_TEXINFOS = gprof.texi +gprof_TEXINFOS = config.texi man_MANS = gprof.1 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 @@ -383,17 +384,35 @@ clean-libtool: distclean-libtool: -rm -f libtool -gprof.dvi: gprof.texi +gprof.info: gprof.texi $(gprof_TEXINFOS) + restore=: && backupdir="$(am__leading_dot)am$$$$" && \ + rm -rf $$backupdir && mkdir $$backupdir && \ + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \ + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \ + done; \ + else :; fi && \ + if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ + -o $@ `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi; \ + then \ + rc=0; \ + else \ + rc=$$?; \ + $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ + fi; \ + rm -rf $$backupdir; exit $$rc + +gprof.dvi: gprof.texi $(gprof_TEXINFOS) TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ $(TEXI2DVI) -o $@ `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi -gprof.pdf: gprof.texi +gprof.pdf: gprof.texi $(gprof_TEXINFOS) TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ $(TEXI2PDF) -o $@ `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi -gprof.html: gprof.texi +gprof.html: gprof.texi $(gprof_TEXINFOS) rm -rf $(@:.html=.htp) if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ -o $(@:.html=.htp) `test -f 'gprof.texi' || echo '$(srcdir)/'`gprof.texi; \ @@ -796,8 +815,6 @@ po/POTFILES.in: @MAINT@ Makefile for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \ && mv tmp $(srcdir)/po/POTFILES.in -gprof.info: gprof.texi config.texi - config.texi: echo "@set top_srcdir $(top_srcdir)" >> ./config.texi |