xref: /netbsd-src/external/gpl3/gdb.old/dist/libctf/doc/local.mk (revision 6881a4007f077b54e5f51159c52b9b25f57deb0d)
1*6881a400Schristos## Process this file with automake to produce Makefile.in.
2*6881a400Schristos#
3*6881a400Schristos#   Copyright (C) 2019-2022 Free Software Foundation, Inc.
4*6881a400Schristos#
5*6881a400Schristos# This file is free software; you can redistribute it and/or modify
6*6881a400Schristos# it under the terms of the GNU General Public License as published by
7*6881a400Schristos# the Free Software Foundation; either version 2 of the License, or
8*6881a400Schristos# (at your option) any later version.
9*6881a400Schristos#
10*6881a400Schristos# This program is distributed in the hope that it will be useful,
11*6881a400Schristos# but WITHOUT ANY WARRANTY; without even the implied warranty of
12*6881a400Schristos# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*6881a400Schristos# GNU General Public License for more details.
14*6881a400Schristos#
15*6881a400Schristos# You should have received a copy of the GNU General Public License
16*6881a400Schristos# along with this program; see the file COPYING.  If not see
17*6881a400Schristos# <http://www.gnu.org/licenses/>.
18*6881a400Schristos#
19*6881a400Schristos
20*6881a400Schristosif BUILD_INFO
21*6881a400Schristos
22*6881a400Schristosinfo_TEXINFOS += %D%/ctf-spec.texi
23*6881a400Schristos
24*6881a400SchristosAM_MAKEINFOFLAGS = --no-split
25*6881a400Schristos
26*6881a400SchristosDISTCLEANFILES += texput.log
27*6881a400SchristosMAINTAINERCLEANFILES += %D%/ctf-spec.info
28*6881a400Schristos
29*6881a400Schristoshtml-local: %D%/ctf-spec/index.html
30*6881a400Schristos%D%/ctf-spec/index.html: %D%/ctf-spec.texi %D%/$(am__dirstamp)
31*6881a400Schristos	$(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
32*6881a400Schristos	  --split=node -I$(srcdir) --output %D%/ctf-spec $(srcdir)/%D%/ctf-spec.texi
33*6881a400Schristos
34*6881a400Schristoselse
35*6881a400Schristos
36*6881a400Schristos# Workaround bug in automake: it can't handle conditionally building info pages
37*6881a400Schristos# since GNU projects normally include info pages in the source distributions.
38*6881a400Schristos%D%/ctf-spec.info:
39*6881a400Schristos
40*6881a400Schristosendif
41