aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.in
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.in
parent1107dce2cdc0b2601ada908a2e2adc25d0dab4b2 (diff)
downloadgdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.zip
gdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.tar.gz
gdb-c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c.tar.bz2
Remove auot generated man pages
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.