PR gas/2101
[deliverable/binutils-gdb.git] / gprof / Makefile.am
index f152477be85602254e5e5f7e398e30686218f0f1..273db036ac0abc13741a9255d58b0fef21c95620 100644 (file)
@@ -58,10 +58,15 @@ POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
 info_TEXINFOS = gprof.texi
 man_MANS = gprof.1
 
+$(srcdir)/gprof.info: gprof.texi config.texi
+
+config.texi:
+       echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
+
 # Build the man page from the texinfo file
 # The sed command removes the no-adjust Nroff command so that
 # the man output looks standard.
-gprof.1: $(srcdir)/gprof.texi
+gprof.1: $(srcdir)/gprof.texi config.texi
        touch $@
        -$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
        -($(POD2MAN) gprof.pod | \
@@ -70,8 +75,6 @@ gprof.1: $(srcdir)/gprof.texi
               (rm -f $@.T$$$$ && exit 1)
        rm -f gprof.pod
 
-Makefile: $(BFDDIR)/configure.in
-
 # We want install to imply install-info as per GNU standards, despite the
 # cygnus option.
 install-data-local: install-info
This page took 0.02258 seconds and 4 git commands to generate.