aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/Makefile.in')
-rw-r--r--gprof/Makefile.in17
1 files changed, 8 insertions, 9 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index aca0211..dc06013 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -135,9 +135,8 @@ noinst_HEADERS = \
search_list.h source.h sym_ids.h symtab.h utils.h
-EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl
-
BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
+EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
POTFILES = $(sources) $(noinst_HEADERS)
@@ -193,7 +192,7 @@ acconfig.h acinclude.m4 aclocal.m4 configure configure.in gconfig.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-TAR = tar
+TAR = gtar
GZIP_ENV = --best
SOURCES = $(gprof_SOURCES)
OBJECTS = $(gprof_OBJECTS)
@@ -712,7 +711,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
-diststuff: $(BUILT_SOURCES) info
+diststuff: $(BUILT_SOURCES) info $(man_MANS)
.m.c:
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
@@ -725,13 +724,13 @@ po/POTFILES.in: @MAINT@ Makefile
# Build the man page from the texinfo file
# The sed command removes the no-adjust Nroff command so that
# the man output looks standard.
-$(srcdir)/gprof.1: $(srcdir)/gprof.texi
- touch $(srcdir)/gprof.1
+gprof.1: $(srcdir)/gprof.texi
+ touch $@
-$(TEXI2POD) $(MANCONF) -Dgprof < $(srcdir)/gprof.texi > gprof.pod
-($(POD2MAN) gprof.pod | \
- sed -e '/^.if n .na/d' > $(srcdir)/gprof.1.T$$$$ && \
- mv -f $(srcdir)/gprof.1.T$$$$ $(srcdir)/gprof.1) || \
- (rm -f $(srcdir)/gprof.1.T$$$$ && exit 1)
+ sed -e '/^.if n .na/d' > $@.T$$$$ && \
+ mv -f $@.T$$$$ $@) || \
+ (rm -f $@.T$$$$ && exit 1)
rm -f gprof.pod
# Targets to rebuild dependencies in this Makefile.