Commit | Line | Data |
---|---|---|
11ca8865 NJ |
1 | ## Process this file with Automake to create Makefile.in |
2 | ## | |
a7286720 | 3 | ## Copyright (C) 1998, 2004, 2006, 2008 Free Software Foundation, Inc. |
11ca8865 NJ |
4 | ## |
5 | ## This file is part of GUILE. | |
c8af48ba | 6 | ## |
11ca8865 NJ |
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. | |
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 | |
15 | ## GNU General Public License for more details. | |
c8af48ba | 16 | ## |
11ca8865 NJ |
17 | ## You should have received a copy of the GNU General Public |
18 | ## License along with GUILE; see the file COPYING. If not, write | |
92205699 MV |
19 | ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth |
20 | ## Floor, Boston, MA 02110-1301 USA | |
11ca8865 NJ |
21 | |
22 | AUTOMAKE_OPTIONS = gnu | |
23 | ||
b89c4943 LC |
24 | BUILT_SOURCES = lib-version.texi |
25 | ||
11ca8865 NJ |
26 | info_TEXINFOS = guile.texi |
27 | ||
237be238 MV |
28 | guile_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 \ | |
38 | api-utility.texi \ | |
39 | api-binding.texi \ | |
40 | api-control.texi \ | |
41 | api-io.texi \ | |
42 | api-evaluation.texi \ | |
43 | api-memory.texi \ | |
44 | api-modules.texi \ | |
45 | api-scheduling.texi \ | |
46 | api-options.texi \ | |
47 | api-translation.texi \ | |
fd936c91 | 48 | api-i18n.texi \ |
07d83abe | 49 | api-debug.texi \ |
237be238 MV |
50 | scheme-reading.texi \ |
51 | scheme-indices.texi \ | |
52 | slib.texi \ | |
53 | posix.texi \ | |
54 | expect.texi \ | |
55 | scsh.texi \ | |
56 | tcltk.texi \ | |
07d83abe | 57 | scheme-scripts.texi \ |
237be238 | 58 | gh.texi \ |
07d83abe MV |
59 | api-overview.texi \ |
60 | scheme-debugging.texi \ | |
46f7666d | 61 | scheme-using.texi \ |
237be238 MV |
62 | indices.texi \ |
63 | script-getopt.texi \ | |
64 | data-rep.texi \ | |
65 | repl-modules.texi \ | |
66 | srfi-modules.texi \ | |
67 | misc-modules.texi \ | |
07d83abe | 68 | api-compound.texi \ |
237be238 MV |
69 | autoconf.texi \ |
70 | autoconf-macros.texi \ | |
71 | tools.texi \ | |
72 | fdl.texi \ | |
73 | libguile-concepts.texi \ | |
74 | libguile-smobs.texi \ | |
75 | libguile-snarf.texi \ | |
76 | libguile-linking.texi \ | |
77 | libguile-extensions.texi \ | |
07d83abe | 78 | api-init.texi \ |
237be238 | 79 | mod-getopt-long.texi |
11ca8865 | 80 | |
2a946b44 NJ |
81 | ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS) |
82 | ||
58ed8bc6 | 83 | include $(top_srcdir)/am/pre-inst-guile |
8430281a | 84 | |
a1f000d5 TTN |
85 | # Automated snarfing |
86 | ||
87 | autoconf.texi: autoconf-macros.texi | |
88 | autoconf-macros.texi: $(top_srcdir)/guile-config/guile.m4 | |
a7286720 LC |
89 | $(preinstguiletool)/snarf-guile-m4-docs $(top_srcdir)/guile-config/guile.m4 \ |
90 | > $(srcdir)/$@ | |
a1f000d5 | 91 | |
b89c4943 LC |
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 | ||
6ef7423a | 97 | MAINTAINERCLEANFILES = autoconf-macros.texi |
17dce950 NJ |
98 | |
99 | # To allow "make distcheck" to succeed, lib-version.texi must either | |
100 | # be cleaned or be included in the distribution. There's no point | |
101 | # forcing a distribution build to regenerate lib-version.texi, because | |
102 | # it can't possibly be different on the build machine than where the | |
103 | # distribution was generated, so we might as well include it in the | |
104 | # distribution. | |
105 | EXTRA_DIST = lib-version.texi |