Move GOOPS documentation into the main manual
[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 Free Software Foundation, Inc.
4 ##
5 ## This file is part of GUILE.
6 ##
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
10 ## (at your option) any later version.
11 ##
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 Lesser General Public License for more details.
16 ##
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
21
22 AUTOMAKE_OPTIONS = gnu
23
24 BUILT_SOURCES = lib-version.texi
25
26 info_TEXINFOS = guile.texi
27
28 guile_TEXINFOS = preface.texi \
29 intro.texi \
30 libguile-program.texi \
31 scheme-intro.texi \
32 api-scm.texi \
33 api-snarf.texi \
34 api-smobs.texi \
35 scheme-ideas.texi \
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 \
48 api-i18n.texi \
49 api-debug.texi \
50 scheme-reading.texi \
51 scheme-indices.texi \
52 slib.texi \
53 posix.texi \
54 expect.texi \
55 scsh.texi \
56 tcltk.texi \
57 scheme-scripts.texi \
58 api-overview.texi \
59 scheme-debugging.texi \
60 scheme-using.texi \
61 indices.texi \
62 script-getopt.texi \
63 data-rep.texi \
64 repl-modules.texi \
65 srfi-modules.texi \
66 misc-modules.texi \
67 api-compound.texi \
68 autoconf.texi \
69 autoconf-macros.texi \
70 tools.texi \
71 history.texi \
72 vm.texi \
73 compiler.texi \
74 fdl.texi \
75 libguile-concepts.texi \
76 libguile-smobs.texi \
77 libguile-snarf.texi \
78 libguile-linking.texi \
79 libguile-extensions.texi \
80 api-init.texi \
81 mod-getopt-long.texi \
82 goops.texi \
83 goops-tutorial.texi
84
85 ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
86
87 EXTRA_DIST = ChangeLog-2008
88
89 include $(top_srcdir)/am/pre-inst-guile
90
91 # Automated snarfing
92
93 autoconf.texi: autoconf-macros.texi
94 autoconf-macros.texi: $(top_srcdir)/meta/guile.m4
95 GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guile-tools \
96 snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
97 > $(srcdir)/$@
98
99 lib-version.texi: $(top_srcdir)/GUILE-VERSION
100 cat "$^" | grep '^LIBGUILE_.*_MAJOR' | \
101 sed 's/^LIBGUILE_\([A-Z0-9_]*\)_MAJOR=\([0-9]\+\)/@set LIBGUILE_\1_MAJOR \2/' \
102 > "$@"
103
104 MAINTAINERCLEANFILES = autoconf-macros.texi
105
106 # To allow "make distcheck" to succeed, lib-version.texi must either
107 # be cleaned or be included in the distribution. Or both - and in
108 # fact both are good. There's no point forcing a distribution build
109 # to regenerate lib-version.texi, because it can't possibly be
110 # different on the build machine than where the distribution was
111 # generated, so we might as well include it in the distribution.
112 EXTRA_DIST += lib-version.texi
113 # But when we want to get back to a clean tree, lib-version.texi
114 # should be cleaned.
115 CLEANFILES = lib-version.texi