bfd/
[deliverable/binutils-gdb.git] / gprof / Makefile.am
index 4e2c88c08cf8d6fdb763bad154a6febf3e5d5e9b..ea3fa4a1cbd403732a6c31b91a63d69582c40272 100644 (file)
@@ -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 \
This page took 0.024108 seconds and 4 git commands to generate.