Commit | Line | Data |
---|---|---|
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 | |
22 | AUTOMAKE_OPTIONS = gnu | |
23 | ||
d773d4c8 | 24 | BUILT_SOURCES = standard-library.texi |
b89c4943 | 25 | |
11ca8865 NJ |
26 | info_TEXINFOS = guile.texi |
27 | ||
237be238 MV |
28 | guile_TEXINFOS = preface.texi \ |
29 | intro.texi \ | |
ff6182ed | 30 | tour.texi \ |
237be238 MV |
31 | libguile-program.texi \ |
32 | scheme-intro.texi \ | |
07d83abe MV |
33 | api-scm.texi \ |
34 | api-snarf.texi \ | |
35 | api-smobs.texi \ | |
237be238 | 36 | scheme-ideas.texi \ |
07d83abe MV |
37 | api-data.texi \ |
38 | api-procedures.texi \ | |
e4955559 | 39 | api-macros.texi \ |
07d83abe MV |
40 | api-utility.texi \ |
41 | api-binding.texi \ | |
42 | api-control.texi \ | |
43 | api-io.texi \ | |
726b8ba3 | 44 | api-foreign.texi \ |
2115b8eb | 45 | api-lalr.texi \ |
e6709db6 | 46 | api-languages.texi \ |
07d83abe MV |
47 | api-evaluation.texi \ |
48 | api-memory.texi \ | |
49 | api-modules.texi \ | |
50 | api-scheduling.texi \ | |
51 | api-options.texi \ | |
fd936c91 | 52 | api-i18n.texi \ |
07d83abe | 53 | api-debug.texi \ |
36b5e394 | 54 | api-coverage.texi \ |
237be238 MV |
55 | scheme-reading.texi \ |
56 | scheme-indices.texi \ | |
57 | slib.texi \ | |
58 | posix.texi \ | |
59 | expect.texi \ | |
60 | scsh.texi \ | |
400a5dcb | 61 | sxml-match.texi \ |
07d83abe | 62 | scheme-scripts.texi \ |
07d83abe | 63 | api-overview.texi \ |
1435c7dc | 64 | api-deprecated.texi \ |
46f7666d | 65 | scheme-using.texi \ |
237be238 MV |
66 | indices.texi \ |
67 | script-getopt.texi \ | |
68 | data-rep.texi \ | |
69 | repl-modules.texi \ | |
70 | srfi-modules.texi \ | |
845cbcfe | 71 | r6rs.texi \ |
358663ca | 72 | match.texi \ |
237be238 | 73 | misc-modules.texi \ |
07d83abe | 74 | api-compound.texi \ |
237be238 MV |
75 | autoconf.texi \ |
76 | autoconf-macros.texi \ | |
77 | tools.texi \ | |
8680d53b AW |
78 | history.texi \ |
79 | vm.texi \ | |
80 | compiler.texi \ | |
237be238 MV |
81 | fdl.texi \ |
82 | libguile-concepts.texi \ | |
83 | libguile-smobs.texi \ | |
84 | libguile-snarf.texi \ | |
85 | libguile-linking.texi \ | |
86 | libguile-extensions.texi \ | |
07d83abe | 87 | api-init.texi \ |
eb12b401 NJ |
88 | mod-getopt-long.texi \ |
89 | goops.texi \ | |
22b5f518 NJ |
90 | goops-tutorial.texi \ |
91 | effective-version.texi | |
11ca8865 | 92 | |
2a946b44 NJ |
93 | ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS) |
94 | ||
5e328915 NJ |
95 | PICTURES = hierarchy.eps \ |
96 | hierarchy.pdf \ | |
97 | hierarchy.png \ | |
98 | hierarchy.txt \ | |
e163dd34 BG |
99 | gds.eps \ |
100 | gds.pdf \ | |
101 | gds.txt \ | |
102 | scheme.eps \ | |
103 | scheme.pdf \ | |
104 | scheme.txt \ | |
5e328915 NJ |
105 | mop.text |
106 | ||
e163dd34 BG |
107 | noinst_DATA = $(PICTURES) |
108 | ||
5e328915 | 109 | EXTRA_DIST = ChangeLog-2008 $(PICTURES) |
61db429e | 110 | |
58ed8bc6 | 111 | include $(top_srcdir)/am/pre-inst-guile |
8430281a | 112 | |
a1f000d5 TTN |
113 | # Automated snarfing |
114 | ||
115 | autoconf.texi: autoconf-macros.texi | |
0b6d8fdc | 116 | autoconf-macros.texi: $(top_srcdir)/meta/guile.m4 |
8dd42d3b | 117 | GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guile-tools \ |
d1529ddf | 118 | snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \ |
a7286720 | 119 | > $(srcdir)/$@ |
a1f000d5 | 120 | |
6ef7423a | 121 | MAINTAINERCLEANFILES = autoconf-macros.texi |
17dce950 | 122 | |
c55cb58a | 123 | # Support for snarfing docs out of Scheme modules. |
e3eefae0 LC |
124 | snarf_doc = standard-library |
125 | ||
126 | $(snarf_doc).am: $(snarf_doc).scm | |
127 | GUILE_AUTO_COMPILE=0 ; \ | |
128 | variable="`echo $(snarf_doc) | tr - _`_scm_files" ; \ | |
129 | "$(preinstguile)" -l "$(srcdir)/$(snarf_doc).scm" -c " \ | |
130 | (format #t \"# Automatically generated, do not edit.~%\") \ | |
131 | (format #t \"$$variable = \") \ | |
132 | (for-each (lambda (m) \ | |
93003b16 LC |
133 | (format #t \"$$""(top_srcdir)/module/~a.scm \" \ |
134 | (string-join (map symbol->string m) \"/\"))) \ | |
135 | (map car *modules*))" > "$@.tmp" | |
e3eefae0 LC |
136 | mv "$@.tmp" "$@" |
137 | ||
138 | # The following line leads to the definition of $(standard_library_scm_files). | |
139 | include standard-library.am | |
140 | ||
141 | $(snarf_doc).texi: $(standard_library_scm_files) | |
142 | GUILE_AUTO_COMPILE=0 \ | |
143 | "$(preinstguile)" "$(srcdir)/make-texinfo.scm" \ | |
87bc7c81 | 144 | "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp" |
e3eefae0 LC |
145 | mv "$@.tmp" "$@" |
146 | ||
d773d4c8 | 147 | CLEANFILES = $(snarf_doc).texi |
e3eefae0 | 148 | EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am |