Changes from arch/CVS synchronization
[bpt/guile.git] / doc / ref / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2 ##
3 ## Copyright (C) 1998, 2004, 2006 Free Software Foundation, Inc.
4 ##
5 ## This file is part of GUILE.
6 ##
7 ## GUILE is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as
9 ## published by the Free Software Foundation; either version 2, or
10 ## (at your option) any later version.
11 ##
12 ## GUILE is distributed in the hope that it will be useful, but
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ## GNU General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public
18 ## License along with GUILE; see the file COPYING. If not, write
19 ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
20 ## Floor, Boston, MA 02110-1301 USA
21
22 AUTOMAKE_OPTIONS = gnu
23
24 BUILT_SOURCES = lib-version.texi
25
26
27 info_TEXINFOS = guile.texi
28
29 guile_TEXINFOS = preface.texi \
30 intro.texi \
31 libguile-program.texi \
32 scheme-intro.texi \
33 api-scm.texi \
34 api-snarf.texi \
35 api-smobs.texi \
36 scheme-ideas.texi \
37 api-data.texi \
38 api-procedures.texi \
39 api-utility.texi \
40 api-binding.texi \
41 api-control.texi \
42 api-io.texi \
43 api-evaluation.texi \
44 api-memory.texi \
45 api-modules.texi \
46 api-scheduling.texi \
47 api-options.texi \
48 api-translation.texi \
49 api-i18n.texi \
50 api-debug.texi \
51 scheme-reading.texi \
52 scheme-indices.texi \
53 slib.texi \
54 posix.texi \
55 expect.texi \
56 scsh.texi \
57 tcltk.texi \
58 scheme-scripts.texi \
59 gh.texi \
60 api-overview.texi \
61 scheme-debugging.texi \
62 scheme-using.texi \
63 indices.texi \
64 script-getopt.texi \
65 data-rep.texi \
66 repl-modules.texi \
67 srfi-modules.texi \
68 misc-modules.texi \
69 api-compound.texi \
70 autoconf.texi \
71 autoconf-macros.texi \
72 tools.texi \
73 fdl.texi \
74 libguile-concepts.texi \
75 libguile-smobs.texi \
76 libguile-snarf.texi \
77 libguile-linking.texi \
78 libguile-extensions.texi \
79 api-init.texi \
80 mod-getopt-long.texi
81
82 ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
83
84 include $(top_srcdir)/am/pre-inst-guile
85
86 # Automated snarfing
87
88 autoconf.texi: autoconf-macros.texi
89 autoconf-macros.texi: $(top_srcdir)/guile-config/guile.m4
90 $(preinstguiletool)/snarf-guile-m4-docs $< > $(srcdir)/$@
91
92 lib-version.texi: $(top_srcdir)/GUILE-VERSION
93 cat "$^" | grep '^LIBGUILE_.*_MAJOR' | \
94 sed 's/^LIBGUILE_\([A-Z0-9_]*\)_MAJOR=\([0-9]\+\)/@set LIBGUILE_\1_MAJOR \2/' \
95 > "$@"
96
97
98 MAINTAINERCLEANFILES = autoconf-macros.texi