Automatic date update in version.in
[binutils-gdb.git] / libctf / doc / local.mk
blob93177971a92648da7161e443c2af2ce808c1ca95
1 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2019-2022 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 2 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 COPYING. If not see
17 # <http://www.gnu.org/licenses/>.
20 if BUILD_INFO
22 info_TEXINFOS += %D%/ctf-spec.texi
24 AM_MAKEINFOFLAGS = --no-split
26 DISTCLEANFILES += texput.log
27 MAINTAINERCLEANFILES += %D%/ctf-spec.info
29 html-local: %D%/ctf-spec/index.html
30 %D%/ctf-spec/index.html: %D%/ctf-spec.texi %D%/$(am__dirstamp)
31 $(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
32 --split=node -I$(srcdir) --output %D%/ctf-spec $(srcdir)/%D%/ctf-spec.texi
34 else
36 # Workaround bug in automake: it can't handle conditionally building info pages
37 # since GNU projects normally include info pages in the source distributions.
38 %D%/ctf-spec.info:
40 endif