aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/Makefile.in')
-rw-r--r--gprof/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index b05d372..ff69bfc 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -407,7 +407,6 @@ distclean-libtool:
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
exit 1; \
fi
-$(srcdir)/gprof.info: gprof.texi
gprof.dvi: gprof.texi
gprof.pdf: gprof.texi
gprof.html: gprof.texi
@@ -783,10 +782,15 @@ po/POTFILES.in: @MAINT@ Makefile
for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
&& mv tmp $(srcdir)/po/POTFILES.in
+$(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 | \