aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.in
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-12-12 14:31:48 +0000
committerDaniel Jacobowitz <drow@false.org>2006-12-12 14:31:48 +0000
commit37d037c12dfbea00a85ee927fc6d9904dbeaf1bb (patch)
treee376d1d895a0daf383f6b6fc638620e8b668b65c /gprof/Makefile.in
parent67f744f3bcb1ac18f5a9a1394e6b6344fd5284c6 (diff)
downloadgdb-37d037c12dfbea00a85ee927fc6d9904dbeaf1bb.zip
gdb-37d037c12dfbea00a85ee927fc6d9904dbeaf1bb.tar.gz
gdb-37d037c12dfbea00a85ee927fc6d9904dbeaf1bb.tar.bz2
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/Makefile.in')
-rw-r--r--gprof/Makefile.in29
1 files changed, 23 insertions, 6 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index d2d7971..cf50599 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