X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gprof%2FMakefile.am;h=ea3fa4a1cbd403732a6c31b91a63d69582c40272;hb=d5fbea21a5f6c495ab468480942cde46767c9423;hp=4e2c88c08cf8d6fdb763bad154a6febf3e5d5e9b;hpb=a48710b341acf93f51ae2b66b1119228c53cce52;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 4e2c88c08c..ea3fa4a1cb 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 \