Big reorganization of the whole manual to give it a simpler structure.
[bpt/guile.git] / doc / ref / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2 ##
3 ## Copyright (C) 1998, 2004 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
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.
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 General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public
18 ## License along with GUILE; see the file COPYING. If not, write
19 ## to the Free Software Foundation, Inc., 59 Temple Place, Suite
20 ## 330, Boston, MA 02111-1307 USA
21
22 AUTOMAKE_OPTIONS = gnu
23
24 info_TEXINFOS = guile.texi
25
26 guile_TEXINFOS = preface.texi intro.texi program.texi \
27 scheme-intro.texi scheme-scm.texi scheme-snarf.texi \
28 scheme-smobs.texi \
29 scheme-ideas.texi scheme-data.texi scheme-procedures.texi \
30 scheme-utility.texi scheme-binding.texi scheme-control.texi \
31 scheme-io.texi scheme-evaluation.texi scheme-memory.texi \
32 scheme-modules.texi scheme-scheduling.texi scheme-options.texi \
33 scheme-translation.texi scheme-debug.texi deprecated.texi \
34 scheme-reading.texi scheme-indices.texi slib.texi posix.texi \
35 expect.texi scsh.texi tcltk.texi scripts.texi gh.texi scm.texi \
36 debugging.texi indices.texi script-getopt.texi data-rep.texi \
37 repl-modules.texi srfi-modules.texi \
38 misc-modules.texi \
39 scheme-compound.texi autoconf.texi autoconf-macros.texi tools.texi \
40 fdl.texi \
41 libguile-concepts.texi \
42 libguile-smobs.texi \
43 libguile-snarf.texi \
44 libguile-linking.texi \
45 libguile-extensions.texi \
46 ref-init.texi \
47 mod-getopt-long.texi
48
49 ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
50
51 include $(top_srcdir)/am/pre-inst-guile
52
53 # Automated snarfing
54
55 autoconf.texi: autoconf-macros.texi
56 autoconf-macros.texi: $(top_srcdir)/guile-config/guile.m4
57 $(preinstguiletool)/snarf-guile-m4-docs $< > $(srcdir)/$@
58
59 # Optionally support building an HTML version of the reference manual.
60
61 if HTMLDOC
62
63 htmldir = $(prefix)/html/guile-$(VERSION)
64
65 html_DATA = guile_toc.html $(shell ls guile_*.html 2>/dev/null)
66
67 guile_toc.html: guile.texi $(guile_TEXINFOS)
68 $(TEXI2HTML) -split_chapter $(srcdir)/guile.texi
69
70 endif
71
72 CLEANFILES = autoconf-macros.texi \
73 guile.cps guile.fns guile.rns guile.tps guile.vrs guile.tmp