`define-public' is no a longer curried definition by default.
[bpt/guile.git] / doc / ref / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2 ##
3 ## Copyright (C) 1998, 2004, 2006, 2008, 2009, 2010,
4 ## 2011 Free Software Foundation, Inc.
5 ##
6 ## This file is part of GUILE.
7 ##
8 ## GUILE is free software; you can redistribute it and/or modify it
9 ## under the terms of the GNU Lesser General Public License as
10 ## published by the Free Software Foundation; either version 3, or
11 ## (at your option) any later version.
12 ##
13 ## GUILE is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ## GNU Lesser General Public License for more details.
17 ##
18 ## You should have received a copy of the GNU Lesser General Public
19 ## License along with GUILE; see the file COPYING.LESSER. If not,
20 ## write to the Free Software Foundation, Inc., 51 Franklin Street,
21 ## Fifth Floor, Boston, MA 02110-1301 USA
22
23 AUTOMAKE_OPTIONS = gnu
24
25 BUILT_SOURCES = standard-library.texi
26
27 info_TEXINFOS = guile.texi
28
29 guile_TEXINFOS = preface.texi \
30 intro.texi \
31 tour.texi \
32 libguile-parallel.texi \
33 libguile-program.texi \
34 scheme-intro.texi \
35 api-scm.texi \
36 api-snarf.texi \
37 api-smobs.texi \
38 scheme-ideas.texi \
39 api-data.texi \
40 api-procedures.texi \
41 api-macros.texi \
42 api-utility.texi \
43 api-binding.texi \
44 api-control.texi \
45 api-io.texi \
46 api-foreign.texi \
47 api-regex.texi \
48 api-lalr.texi \
49 api-languages.texi \
50 api-evaluation.texi \
51 api-memory.texi \
52 api-modules.texi \
53 api-scheduling.texi \
54 api-options.texi \
55 api-i18n.texi \
56 api-debug.texi \
57 api-coverage.texi \
58 scheme-reading.texi \
59 scheme-indices.texi \
60 slib.texi \
61 posix.texi \
62 web.texi \
63 expect.texi \
64 scsh.texi \
65 sxml-match.texi \
66 scheme-scripts.texi \
67 api-overview.texi \
68 api-deprecated.texi \
69 scheme-using.texi \
70 indices.texi \
71 data-rep.texi \
72 repl-modules.texi \
73 srfi-modules.texi \
74 r6rs.texi \
75 match.texi \
76 misc-modules.texi \
77 api-compound.texi \
78 libguile-autoconf.texi \
79 autoconf-macros.texi \
80 tools.texi \
81 history.texi \
82 vm.texi \
83 compiler.texi \
84 fdl.texi \
85 libguile-concepts.texi \
86 libguile-smobs.texi \
87 libguile-snarf.texi \
88 libguile-linking.texi \
89 libguile-extensions.texi \
90 api-init.texi \
91 mod-getopt-long.texi \
92 goops.texi \
93 goops-tutorial.texi \
94 guile-invoke.texi \
95 effective-version.texi
96
97 ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
98
99 PICTURES = hierarchy.eps \
100 hierarchy.pdf \
101 hierarchy.png \
102 hierarchy.txt \
103 gds.eps \
104 gds.pdf \
105 gds.txt \
106 scheme.eps \
107 scheme.pdf \
108 scheme.txt \
109 mop.text
110
111 noinst_DATA = $(PICTURES)
112
113 EXTRA_DIST = ChangeLog-2008 $(PICTURES)
114
115 # Automated snarfing
116
117 libguile-autoconf.texi: autoconf-macros.texi
118 autoconf-macros.texi: $(top_srcdir)/meta/guile.m4
119 GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guild \
120 snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
121 > $(srcdir)/$@
122
123 MAINTAINERCLEANFILES = autoconf-macros.texi
124
125 # Support for snarfing docs out of Scheme modules.
126 snarf_doc = standard-library
127
128 $(snarf_doc).am: $(snarf_doc).scm
129 GUILE_AUTO_COMPILE=0 ; \
130 variable="`echo $(snarf_doc) | tr - _`_scm_files" ; \
131 "$(top_builddir_absolute)/meta/guile" -l "$(srcdir)/$(snarf_doc).scm" \
132 -c " \
133 (format #t \"# Automatically generated, do not edit.~%\") \
134 (format #t \"$$variable = \") \
135 (for-each (lambda (m) \
136 (format #t \"$$""(top_srcdir)/module/~a.scm \" \
137 (string-join (map symbol->string m) \"/\"))) \
138 (map car *modules*))" > "$@.tmp"
139 mv "$@.tmp" "$@"
140
141 # The following line leads to the definition of $(standard_library_scm_files).
142 include standard-library.am
143
144 $(snarf_doc).texi: $(standard_library_scm_files)
145 GUILE_AUTO_COMPILE=0 \
146 "$(top_builddir_absolute)/meta/guile" "$(srcdir)/make-texinfo.scm" \
147 "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp"
148 mv "$@.tmp" "$@"
149
150 DISTCLEANFILES = $(snarf_doc).texi
151 EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am
152
153
154 www-commit: html
155 cd guile.html; \
156 cvs -d :ext:cvs.sv.gnu.org:/web/guile \
157 import -m 'make www-commit in doc/ref' guile/docs/master/guile.html gnu \
158 $(shell date "+D%Y%m%d%H%M%S")