fix vector-ref and vector-set opcodes for weak vectors
[bpt/guile.git] / doc / ref / Makefile.am
CommitLineData
11ca8865
NJ
1## Process this file with Automake to create Makefile.in
2##
e3eefae0 3## Copyright (C) 1998, 2004, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
11ca8865
NJ
4##
5## This file is part of GUILE.
c8af48ba 6##
53befeb7
NJ
7## GUILE is free software; you can redistribute it and/or modify it
8## under the terms of the GNU Lesser General Public License as
9## published by the Free Software Foundation; either version 3, or
11ca8865 10## (at your option) any later version.
c8af48ba 11##
11ca8865
NJ
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
53befeb7 15## GNU Lesser General Public License for more details.
c8af48ba 16##
53befeb7
NJ
17## You should have received a copy of the GNU Lesser General Public
18## License along with GUILE; see the file COPYING.LESSER. If not,
19## write to the Free Software Foundation, Inc., 51 Franklin Street,
20## Fifth Floor, Boston, MA 02110-1301 USA
11ca8865
NJ
21
22AUTOMAKE_OPTIONS = gnu
23
2ff9bf85 24BUILT_SOURCES = lib-version.texi standard-library.texi
b89c4943 25
11ca8865
NJ
26info_TEXINFOS = guile.texi
27
237be238
MV
28guile_TEXINFOS = preface.texi \
29 intro.texi \
30 libguile-program.texi \
31 scheme-intro.texi \
07d83abe
MV
32 api-scm.texi \
33 api-snarf.texi \
34 api-smobs.texi \
237be238 35 scheme-ideas.texi \
07d83abe
MV
36 api-data.texi \
37 api-procedures.texi \
e4955559 38 api-macros.texi \
07d83abe
MV
39 api-utility.texi \
40 api-binding.texi \
41 api-control.texi \
42 api-io.texi \
2115b8eb 43 api-lalr.texi \
07d83abe
MV
44 api-evaluation.texi \
45 api-memory.texi \
46 api-modules.texi \
47 api-scheduling.texi \
48 api-options.texi \
49 api-translation.texi \
fd936c91 50 api-i18n.texi \
07d83abe 51 api-debug.texi \
237be238
MV
52 scheme-reading.texi \
53 scheme-indices.texi \
54 slib.texi \
55 posix.texi \
56 expect.texi \
57 scsh.texi \
58 tcltk.texi \
07d83abe 59 scheme-scripts.texi \
07d83abe
MV
60 api-overview.texi \
61 scheme-debugging.texi \
46f7666d 62 scheme-using.texi \
237be238
MV
63 indices.texi \
64 script-getopt.texi \
65 data-rep.texi \
66 repl-modules.texi \
67 srfi-modules.texi \
68 misc-modules.texi \
07d83abe 69 api-compound.texi \
237be238
MV
70 autoconf.texi \
71 autoconf-macros.texi \
72 tools.texi \
8680d53b
AW
73 history.texi \
74 vm.texi \
75 compiler.texi \
237be238
MV
76 fdl.texi \
77 libguile-concepts.texi \
78 libguile-smobs.texi \
79 libguile-snarf.texi \
80 libguile-linking.texi \
81 libguile-extensions.texi \
07d83abe 82 api-init.texi \
eb12b401
NJ
83 mod-getopt-long.texi \
84 goops.texi \
22b5f518
NJ
85 goops-tutorial.texi \
86 effective-version.texi
11ca8865 87
2a946b44
NJ
88ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
89
5e328915
NJ
90PICTURES = hierarchy.eps \
91 hierarchy.pdf \
92 hierarchy.png \
93 hierarchy.txt \
e163dd34
BG
94 gds.eps \
95 gds.pdf \
96 gds.txt \
97 scheme.eps \
98 scheme.pdf \
99 scheme.txt \
5e328915
NJ
100 mop.text
101
e163dd34
BG
102noinst_DATA = $(PICTURES)
103
5e328915 104EXTRA_DIST = ChangeLog-2008 $(PICTURES)
61db429e 105
58ed8bc6 106include $(top_srcdir)/am/pre-inst-guile
8430281a 107
a1f000d5
TTN
108# Automated snarfing
109
110autoconf.texi: autoconf-macros.texi
0b6d8fdc 111autoconf-macros.texi: $(top_srcdir)/meta/guile.m4
8dd42d3b 112 GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guile-tools \
d1529ddf 113 snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
a7286720 114 > $(srcdir)/$@
a1f000d5 115
b89c4943
LC
116lib-version.texi: $(top_srcdir)/GUILE-VERSION
117 cat "$^" | grep '^LIBGUILE_.*_MAJOR' | \
118 sed 's/^LIBGUILE_\([A-Z0-9_]*\)_MAJOR=\([0-9]\+\)/@set LIBGUILE_\1_MAJOR \2/' \
119 > "$@"
120
6ef7423a 121MAINTAINERCLEANFILES = autoconf-macros.texi
17dce950
NJ
122
123# To allow "make distcheck" to succeed, lib-version.texi must either
4c9e29ec
NJ
124# be cleaned or be included in the distribution. Or both - and in
125# fact both are good. There's no point forcing a distribution build
126# to regenerate lib-version.texi, because it can't possibly be
127# different on the build machine than where the distribution was
128# generated, so we might as well include it in the distribution.
61db429e 129EXTRA_DIST += lib-version.texi
4c9e29ec
NJ
130# But when we want to get back to a clean tree, lib-version.texi
131# should be cleaned.
132CLEANFILES = lib-version.texi
c55cb58a
AW
133
134# Support for snarfing docs out of Scheme modules.
e3eefae0
LC
135snarf_doc = standard-library
136
137$(snarf_doc).am: $(snarf_doc).scm
138 GUILE_AUTO_COMPILE=0 ; \
139 variable="`echo $(snarf_doc) | tr - _`_scm_files" ; \
140 "$(preinstguile)" -l "$(srcdir)/$(snarf_doc).scm" -c " \
141 (format #t \"# Automatically generated, do not edit.~%\") \
142 (format #t \"$$variable = \") \
143 (for-each (lambda (m) \
144 (format #t \"$$""(top_srcdir)/module/~a.scm \" \
145 (string-join (map symbol->string m) \"/\"))) \
146 (map car *modules*))" > "$@.tmp"
147 mv "$@.tmp" "$@"
148
149# The following line leads to the definition of $(standard_library_scm_files).
150include standard-library.am
151
152$(snarf_doc).texi: $(standard_library_scm_files)
153 GUILE_AUTO_COMPILE=0 \
154 "$(preinstguile)" "$(srcdir)/make-texinfo.scm" \
87bc7c81 155 "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp"
e3eefae0
LC
156 mv "$@.tmp" "$@"
157
158CLEANFILES += $(snarf_doc).texi
159EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am