xref: /netbsd-src/external/gpl3/binutils/dist/libctf/doc/local.mk (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
14f645668Schristos## Process this file with automake to produce Makefile.in.
24f645668Schristos#
3*cb63e24eSchristos#   Copyright (C) 2019-2024 Free Software Foundation, Inc.
44f645668Schristos#
54f645668Schristos# This file is free software; you can redistribute it and/or modify
64f645668Schristos# it under the terms of the GNU General Public License as published by
74f645668Schristos# the Free Software Foundation; either version 2 of the License, or
84f645668Schristos# (at your option) any later version.
94f645668Schristos#
104f645668Schristos# This program is distributed in the hope that it will be useful,
114f645668Schristos# but WITHOUT ANY WARRANTY; without even the implied warranty of
124f645668Schristos# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
134f645668Schristos# GNU General Public License for more details.
144f645668Schristos#
154f645668Schristos# You should have received a copy of the GNU General Public License
164f645668Schristos# along with this program; see the file COPYING.  If not see
174f645668Schristos# <http://www.gnu.org/licenses/>.
184f645668Schristos#
194f645668Schristos
204f645668Schristosif BUILD_INFO
214f645668Schristos
224f645668Schristosinfo_TEXINFOS += %D%/ctf-spec.texi
234f645668Schristos
244f645668SchristosAM_MAKEINFOFLAGS = --no-split
254f645668Schristos
264f645668SchristosDISTCLEANFILES += texput.log
274f645668SchristosMAINTAINERCLEANFILES += %D%/ctf-spec.info
284f645668Schristos
294f645668Schristoshtml-local: %D%/ctf-spec/index.html
304f645668Schristos%D%/ctf-spec/index.html: %D%/ctf-spec.texi %D%/$(am__dirstamp)
314f645668Schristos	$(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
324f645668Schristos	  --split=node -I$(srcdir) --output %D%/ctf-spec $(srcdir)/%D%/ctf-spec.texi
334f645668Schristos
344f645668Schristoselse
354f645668Schristos
364f645668Schristos# Workaround bug in automake: it can't handle conditionally building info pages
374f645668Schristos# since GNU projects normally include info pages in the source distributions.
384f645668Schristos%D%/ctf-spec.info:
394f645668Schristos
404f645668Schristosendif
41