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