diff options
Diffstat (limited to 'gprof/Makefile.am')
-rw-r--r-- | gprof/Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 4e2c88c08cf..ea3fa4a1cbd 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -61,7 +61,7 @@ POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1 info_TEXINFOS = gprof.texi man_MANS = gprof.1 -$(srcdir)/gprof.info: gprof.texi config.texi +gprof.info: gprof.texi config.texi config.texi: echo "@set top_srcdir $(top_srcdir)" >> ./config.texi @@ -177,6 +177,15 @@ dep-am: DEP CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 +MAINTAINERCLEANFILES = gprof.info + +# Automake 1.9 will only build info files in the objdir if they are +# mentioned in DISTCLEANFILES. It doesn't have to be unconditional, +# though, so we use a bogus condition. +if GENINSRC_NEVER +DISTCLEANFILES = gprof.info +endif + # DO NOT DELETE THIS LINE -- mkdep uses it. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. basic_blocks.o: basic_blocks.c $(INCDIR)/libiberty.h \ |