-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocumentation.am
62 lines (44 loc) · 1.75 KB
/
documentation.am
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
##
## documentation.am -- Common documentation definitions
##
#
# Copyright (C) 2016 Bruno Félix Rezende Ribeiro <oitofelix@gnu.org>
#
# This program 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, or (at your option)
# any later version.
#
# This program 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/>.
#
#######################
# Documentation files #
#######################
top_level_doc = ${release_doc} $(call uc,${philosophy_doc})
release_doc = README NEWS TODO THANKS DONORS ANNOUNCEMENT
philosophy_doc = linux-and-the-gnu-system \
gnu-free-documentation-license
# Lower-case to upper-case conversion funtion
uc = $(shell echo ${1} | LC_ALL=C tr '[:lower:]' '[:upper:]')
#######################
# Texinfo definitions #
#######################
export texinfo_includes = \
-I ${abs_top_srcdir}/build-aux \
-I ${abs_top_srcdir}/doc \
-I ${abs_top_srcdir}/doc/release \
-I ${abs_top_srcdir}/doc/philosophy \
-I ${abs_top_srcdir}/doc/www \
-I ${abs_top_builddir}/doc/release
export AM_MAKEINFOFLAGS = ${texinfo_includes}
export makeinfo = ${MAKEINFO} ${AM_MAKEINFOFLAGS} ${MAKEINFOFLAGS}
export MAKEINFOHTML = ${MAKEINFO} --html
export AM_MAKEINFOHTMLFLAGS = ${texinfo_includes}
export makeinfohtml = ${MAKEINFOHTML} ${AM_MAKEINFOHTMLFLAGS} ${MAKEINFOHTMLFLAGS}
export TEXI2DVI := ${TEXI2DVI} ${texinfo_includes}