summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: db67cbef5467d01eec8bea4427c5da1eee03ef71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
##  -*- Mode: Makefile -*-
##
## Makefile.am -- process this file with automake to produce Makefile.in
##
## Time-stamp:      "2012-08-11 09:38:01 bkorb"
## Author:          Bruce Korb <bkorb@gnu.org>
##
## This file is part of AutoGen.
## AutoGen Copyright (c) 1992-2012 by Bruce Korb - all rights reserved
##
## AutoGen is free software: you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by the
## Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## AutoGen is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program.  If not, see <http://www.gnu.org/licenses/>.
## ---------------------------------------------------------------------

# This variable is needed to subvert automake's info rules.
# They don't work for generated texi files:
#
INFO_DEPS       = autogen.info
MIexe           = $(MAKEINFO) --no-split
MAKEINFOFLAGS   = -I$(top_srcdir)/autoopts -I../autoopts
passenv         = MAKE=$(MAKE) srcdir="$(srcdir)" SHELL="$(POSIX_SHELL)" \
	top_builddir="$(top_builddir)" top_srcdir="$(top_srcdir)"

run_mktexi      = $(passenv) $(POSIX_SHELL) mk-agen-texi.sh
all : $(INFO_DEPS)

BUILT_SOURCES   = autogen.texi
info_TEXINFOS   = $(BUILT_SOURCES)
EXTRA_DIST	= \
    agdoc.texi            auto-opts.tpl         autogen-intro.texi \
    autogen-intro.texi    autogen-texi.txt      fdl.texi \
    gendocs_template      invoke-autogen.texi   invoke-columns.texi \
    invoke-getdefs.texi   invoke-snprintfv.texi invoke-xml2ag.texi \
    libopts.texi          mk-agen-texi.sh       snprintfv.texi

# MAINTAINERCLEANFILES  = MakeDep.inc
TEXI2DVI_FLAGS  =  --texinfo='@pagesizes 9.5in,7.0in'

agdoc.texi      : # self-depends upon all executables
	$(run_mktexi) $@

autogen.dvi     : agdoc.texi
autogen.texi    : agdoc.texi mk-agen-texi.sh

# Special rule for generating all the GNU standard formats.
#
autogen.txt : autogen.texi
	$(MIexe) --fill-column=70 --paragraph-indent=0 --no-headers \
		--output=$@ autogen.texi

clobber : maintainer-clean

.NOTPARALLEL:

gnudocs             : $(srcdir)/gendocs_template agdoc.texi
	$(run_mktexi) $@

# doc/Makefile.am ends here