RISC-V: Don't report warnings when linking different privileged spec objects.
[binutils-gdb.git] / gprofng / doc / Makefile.am
blob88f94858094c1ee14d15229ea9ae9c88e01c4f0d
1 ## Process this file with automake to generate Makefile.in
3 #   Copyright (C) 2012-2024 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; see the file COPYING3.  If not see
17 # <http://www.gnu.org/licenses/>.
20 AUTOMAKE_OPTIONS = info-in-builddir foreign no-texinfo.tex
22 DVIS  = gprofng.dvi
23 PDFS  = gprofng.pdf
24 HTMLS = gprofng.html
26 # Options to extract the man page
27 MANCONF = -Dman
29 TEXI2POD = perl $(srcdir)/../../etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
30 POD2MAN = pod2man --center="User Commands" \
31         --release="binutils-$(VERSION)" --section=1
33 info_TEXINFOS       = gprofng_ug.texi
34 gprofng_ug_TEXINFOS = fdl.texi gp-macros.texi
35 TEXINFO_TEX         = .
36 MAKEINFOHTML        = $(MAKEINFO) --html --no-split
38 man_MANS = gprofng.1 gprofng-archive.1 gprofng-collect-app.1 \
39         gprofng-display-html.1 gprofng-display-src.1 gprofng-display-text.1
41 # Build the man page from the texinfo file
42 # The sed command removes the no-adjust Nroff command so that
43 # the man output looks standard.
44 $(man_MANS): $(srcdir)/gp-macros.texi
45         $(AM_V_at)( nm=`basename $@ .1` ; \
46           $(TEXI2POD) $(MANCONF) < $(srcdir)/$$nm.texi > $$nm.pod ; \
47           $(POD2MAN) $$nm.pod | sed -e '/^.if n .na/d' > $$nm.tmp || exit 1 ; \
48           mv -f $$nm.tmp $@ ; \
49           rm -f $$nm.pod )
51 gprofng.1: $(srcdir)/gprofng.texi
52 gprofng-archive.1: $(srcdir)/gprofng-archive.texi
53 gprofng-collect-app.1: $(srcdir)/gprofng-collect-app.texi
54 gprofng-display-html.1: $(srcdir)/gprofng-display-html.texi
55 gprofng-display-src.1: $(srcdir)/gprofng-display-src.texi
56 gprofng-display-text.1: $(srcdir)/gprofng-display-text.texi
58 MAINTAINERCLEANFILES = gprofng.info $(man_MANS)
59 EXTRA_DIST = $(man_MANS) version.texi
61 info: $(man_MANS)
63 examples.tar.gz:
64         $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
66 .PHONY: install-data-local
68 install-data-local:  examples.tar.gz
69         $(mkinstalldirs) $(DESTDIR)$(docdir)/gprofng
70         $(INSTALL_DATA) examples.tar.gz $(DESTDIR)$(docdir)/gprofng