Commit | Line | Data |
---|---|---|
11ca8865 NJ |
1 | ## Process this file with Automake to create Makefile.in |
2 | ## | |
41d82ac9 LC |
3 | ## Copyright (C) 1998, 2004, 2006, 2008, 2009, 2010, |
4 | ## 2011 Free Software Foundation, Inc. | |
11ca8865 NJ |
5 | ## |
6 | ## This file is part of GUILE. | |
c8af48ba | 7 | ## |
53befeb7 NJ |
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 | |
11ca8865 | 11 | ## (at your option) any later version. |
c8af48ba | 12 | ## |
11ca8865 NJ |
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 | |
53befeb7 | 16 | ## GNU Lesser General Public License for more details. |
c8af48ba | 17 | ## |
53befeb7 NJ |
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 | |
11ca8865 NJ |
22 | |
23 | AUTOMAKE_OPTIONS = gnu | |
24 | ||
d773d4c8 | 25 | BUILT_SOURCES = standard-library.texi |
b89c4943 | 26 | |
11ca8865 NJ |
27 | info_TEXINFOS = guile.texi |
28 | ||
237be238 MV |
29 | guile_TEXINFOS = preface.texi \ |
30 | intro.texi \ | |
ff6182ed | 31 | tour.texi \ |
9cbbb400 | 32 | libguile-parallel.texi \ |
237be238 MV |
33 | libguile-program.texi \ |
34 | scheme-intro.texi \ | |
07d83abe MV |
35 | api-scm.texi \ |
36 | api-snarf.texi \ | |
37 | api-smobs.texi \ | |
237be238 | 38 | scheme-ideas.texi \ |
07d83abe MV |
39 | api-data.texi \ |
40 | api-procedures.texi \ | |
e4955559 | 41 | api-macros.texi \ |
07d83abe MV |
42 | api-utility.texi \ |
43 | api-binding.texi \ | |
44 | api-control.texi \ | |
45 | api-io.texi \ | |
726b8ba3 | 46 | api-foreign.texi \ |
b215e5b2 | 47 | api-regex.texi \ |
2115b8eb | 48 | api-lalr.texi \ |
e6709db6 | 49 | api-languages.texi \ |
07d83abe MV |
50 | api-evaluation.texi \ |
51 | api-memory.texi \ | |
52 | api-modules.texi \ | |
53 | api-scheduling.texi \ | |
54 | api-options.texi \ | |
fd936c91 | 55 | api-i18n.texi \ |
07d83abe | 56 | api-debug.texi \ |
36b5e394 | 57 | api-coverage.texi \ |
237be238 MV |
58 | scheme-reading.texi \ |
59 | scheme-indices.texi \ | |
60 | slib.texi \ | |
61 | posix.texi \ | |
8db7e094 | 62 | web.texi \ |
237be238 MV |
63 | expect.texi \ |
64 | scsh.texi \ | |
400a5dcb | 65 | sxml-match.texi \ |
07d83abe | 66 | scheme-scripts.texi \ |
07d83abe | 67 | api-overview.texi \ |
1435c7dc | 68 | api-deprecated.texi \ |
46f7666d | 69 | scheme-using.texi \ |
237be238 | 70 | indices.texi \ |
237be238 MV |
71 | data-rep.texi \ |
72 | repl-modules.texi \ | |
73 | srfi-modules.texi \ | |
845cbcfe | 74 | r6rs.texi \ |
358663ca | 75 | match.texi \ |
237be238 | 76 | misc-modules.texi \ |
07d83abe | 77 | api-compound.texi \ |
98518c96 | 78 | libguile-autoconf.texi \ |
237be238 MV |
79 | autoconf-macros.texi \ |
80 | tools.texi \ | |
8680d53b AW |
81 | history.texi \ |
82 | vm.texi \ | |
83 | compiler.texi \ | |
237be238 MV |
84 | fdl.texi \ |
85 | libguile-concepts.texi \ | |
86 | libguile-smobs.texi \ | |
87 | libguile-snarf.texi \ | |
88 | libguile-linking.texi \ | |
89 | libguile-extensions.texi \ | |
07d83abe | 90 | api-init.texi \ |
eb12b401 NJ |
91 | mod-getopt-long.texi \ |
92 | goops.texi \ | |
22b5f518 | 93 | goops-tutorial.texi \ |
ea5c9ddc | 94 | guile-invoke.texi \ |
22b5f518 | 95 | effective-version.texi |
11ca8865 | 96 | |
2a946b44 NJ |
97 | ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS) |
98 | ||
5e328915 NJ |
99 | PICTURES = hierarchy.eps \ |
100 | hierarchy.pdf \ | |
101 | hierarchy.png \ | |
102 | hierarchy.txt \ | |
e163dd34 BG |
103 | gds.eps \ |
104 | gds.pdf \ | |
105 | gds.txt \ | |
106 | scheme.eps \ | |
107 | scheme.pdf \ | |
108 | scheme.txt \ | |
5e328915 NJ |
109 | mop.text |
110 | ||
e163dd34 BG |
111 | noinst_DATA = $(PICTURES) |
112 | ||
5e328915 | 113 | EXTRA_DIST = ChangeLog-2008 $(PICTURES) |
61db429e | 114 | |
a1f000d5 TTN |
115 | # Automated snarfing |
116 | ||
98518c96 | 117 | libguile-autoconf.texi: autoconf-macros.texi |
0b6d8fdc | 118 | autoconf-macros.texi: $(top_srcdir)/meta/guile.m4 |
b8b06598 | 119 | GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guild \ |
d1529ddf | 120 | snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \ |
a7286720 | 121 | > $(srcdir)/$@ |
a1f000d5 | 122 | |
6ef7423a | 123 | MAINTAINERCLEANFILES = autoconf-macros.texi |
17dce950 | 124 | |
c55cb58a | 125 | # Support for snarfing docs out of Scheme modules. |
e3eefae0 LC |
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" ; \ | |
6b8bc6f8 NJ |
131 | "$(top_builddir_absolute)/meta/guile" -l "$(srcdir)/$(snarf_doc).scm" \ |
132 | -c " \ | |
e3eefae0 LC |
133 | (format #t \"# Automatically generated, do not edit.~%\") \ |
134 | (format #t \"$$variable = \") \ | |
135 | (for-each (lambda (m) \ | |
93003b16 LC |
136 | (format #t \"$$""(top_srcdir)/module/~a.scm \" \ |
137 | (string-join (map symbol->string m) \"/\"))) \ | |
138 | (map car *modules*))" > "$@.tmp" | |
e3eefae0 LC |
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 \ | |
6b8bc6f8 | 146 | "$(top_builddir_absolute)/meta/guile" "$(srcdir)/make-texinfo.scm" \ |
87bc7c81 | 147 | "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp" |
e3eefae0 LC |
148 | mv "$@.tmp" "$@" |
149 | ||
41d82ac9 | 150 | DISTCLEANFILES = $(snarf_doc).texi |
e3eefae0 | 151 | EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am |
863f1196 AW |
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") |