Fixed build with HWASan
[platform/upstream/autogen.git] / doc / Makefile.am
1 ##  -*- Mode: Makefile -*-
2 ##
3 ## Makefile.am -- process this file with automake to produce Makefile.in
4 ##
5 ## Author:          Bruce Korb <bkorb@gnu.org>
6 ##
7 ## This file is part of AutoGen.
8 ## AutoGen Copyright (C) 1992-2018 by Bruce Korb - all rights reserved
9 ##
10 ## AutoGen is free software: you can redistribute it and/or modify it
11 ## under the terms of the GNU General Public License as published by the
12 ## Free Software Foundation, either version 3 of the License, or
13 ## (at your option) any later version.
14 ##
15 ## AutoGen is distributed in the hope that it will be useful, but
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 ## See the GNU General Public License for more details.
19 ##
20 ## You should have received a copy of the GNU General Public License along
21 ## with this program.  If not, see <http://www.gnu.org/licenses/>.
22 ## ---------------------------------------------------------------------
23
24 # This variable is needed to subvert automake's info rules.
25 # They don't work for generated texi files:
26 #
27 INFO_DEPS       = autogen.info
28 MIexe           = $(MAKEINFO) --no-split
29 MAKEINFOFLAGS   = -I$(top_srcdir)/autoopts -I../autoopts
30 passenv         = MAKE=$(MAKE) srcdir="$(srcdir)" SHELL="$(POSIX_SHELL)" \
31         top_builddir="$(top_builddir)" top_srcdir="$(top_srcdir)"
32
33 run_mktexi      = $(passenv) $(POSIX_SHELL) $${dashx} \
34         $(srcdir)/mk-agen-texi.sh
35 all : $(INFO_DEPS)
36
37 BUILT_SOURCES   = autogen.texi
38 info_TEXINFOS   = $(BUILT_SOURCES)
39 EXTRA_DIST      = \
40     agdoc.texi            auto-opts.tlib      autogen-intro.texi \
41     autogen-intro.texi    autogen-texi.txt    fdl.texi \
42     gendocs_template      libopts.texi        mk-agen-texi.sh    \
43     invoke-autogen.texi   invoke-columns.texi \
44     invoke-getdefs.texi   invoke-xml2ag.texi  \
45     invoke-snprintfv.texi snprintfv.texi      \
46     invoke-bitmaps.texi   bitmaps.texi
47
48 # MAINTAINERCLEANFILES  = MakeDep.inc
49 TEXI2DVI_FLAGS  =  --texinfo='@pagesizes 9.5in,7.0in'
50
51 agdoc.texi      : # self-depends upon all executables
52         $(run_mktexi) $@
53
54 autogen.dvi     : agdoc.texi
55 autogen.texi    : agdoc.texi mk-agen-texi.sh
56         @test -f $@ || { $(run_mktexi) $@ ; }
57
58 # Special rule for generating all the GNU standard formats.
59 #
60 autogen.txt : autogen.texi
61         $(MIexe) --fill-column=70 --paragraph-indent=0 --no-headers \
62                 --output=$@ autogen.texi
63
64 clobber : maintainer-clean
65
66 .NOTPARALLEL:
67
68 gnudocs             : $(srcdir)/gendocs_template agdoc.texi
69         $(run_mktexi) $@
70
71 # doc/Makefile.am ends here