1 ## -*- Mode: Makefile -*-
3 ## Makefile.am -- process this file with automake to produce Makefile.in
5 ## Author: Bruce Korb <bkorb@gnu.org>
7 ## This file is part of AutoGen.
8 ## AutoGen Copyright (C) 1992-2018 by Bruce Korb - all rights reserved
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.
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.
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 ## ---------------------------------------------------------------------
24 # This variable is needed to subvert automake's info rules.
25 # They don't work for generated texi files:
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)"
33 run_mktexi = $(passenv) $(POSIX_SHELL) $${dashx} \
34 $(srcdir)/mk-agen-texi.sh
37 BUILT_SOURCES = autogen.texi
38 info_TEXINFOS = $(BUILT_SOURCES)
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
48 # MAINTAINERCLEANFILES = MakeDep.inc
49 TEXI2DVI_FLAGS = --texinfo='@pagesizes 9.5in,7.0in'
51 agdoc.texi : # self-depends upon all executables
54 autogen.dvi : agdoc.texi
55 autogen.texi : agdoc.texi mk-agen-texi.sh
56 @test -f $@ || { $(run_mktexi) $@ ; }
58 # Special rule for generating all the GNU standard formats.
60 autogen.txt : autogen.texi
61 $(MIexe) --fill-column=70 --paragraph-indent=0 --no-headers \
62 --output=$@ autogen.texi
64 clobber : maintainer-clean
68 gnudocs : $(srcdir)/gendocs_template agdoc.texi
71 # doc/Makefile.am ends here