aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.am
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-06-19 11:57:29 +0000
committerNick Clifton <nickc@redhat.com>2001-06-19 11:57:29 +0000
commitc45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c (patch)
tree91b942fd35d48e36535b99d03341910a386a33dd /gprof/Makefile.am
parent1107dce2cdc0b2601ada908a2e2adc25d0dab4b2 (diff)
downloadgdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.zip
gdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.tar.gz
gdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.tar.bz2
Remove auot generated man pages
Diffstat (limited to 'gprof/Makefile.am')
-rw-r--r--gprof/Makefile.am15
1 files changed, 7 insertions, 8 deletions
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index 4e311d4..24acf1c 100644
--- a/gprof/Makefile.am
+++ b/gprof/Makefile.am
@@ -33,11 +33,10 @@ noinst_HEADERS = \
corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
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)
-diststuff: $(BUILT_SOURCES) info
+diststuff: $(BUILT_SOURCES) info $(man_MANS)
.m.c:
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
@@ -61,13 +60,13 @@ man_MANS = gprof.1
# 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.