4457f855cbc54793f1937cc6b205b11fb757be7c
[bpt/guile.git] / doc / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2 ##
3 ## Copyright (C) 1998 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 = foreign
23
24 # pending the papers from Robert Merkel
25 # man_MANS = guile.1
26
27 info_TEXINFOS = guile.texi r5rs.texi goops.texi guile-tut.texi
28
29 guile_TEXINFOS = preface.texi intro.texi scheme-intro.texi \
30 scheme-ideas.texi scheme-data.texi scheme-procedures.texi \
31 scheme-utility.texi scheme-binding.texi scheme-control.texi \
32 scheme-io.texi scheme-evaluation.texi scheme-memory.texi \
33 scheme-modules.texi scheme-scheduling.texi scheme-options.texi \
34 scheme-translation.texi scheme-debug.texi deprecated.texi \
35 scheme-reading.texi scheme-indices.texi slib.texi posix.texi \
36 expect.texi scsh.texi tcltk.texi scripts.texi gh.texi scm.texi \
37 appendices.texi indices.texi script-getopt.texi data-rep.texi \
38 extend.texi repl-modules.texi srfi-modules.texi \
39 AUTHORS
40
41 guile_tut_TEXINFOS = guile-tut.texi AUTHORS
42
43 goops_TEXINFOS = goops-tutorial.texi hierarchy.eps hierarchy.txt AUTHORS
44
45 # Optionally support building an HTML version of the reference manual.
46
47 if HTMLDOC
48
49 htmldir = $(prefix)/html/guile-$(VERSION)
50
51 html_DATA = guile_toc.html $(shell ls guile_*.html 2>/dev/null) guile-tut_toc.html $(shell ls guile-tut_*.html 2>/dev/null)
52
53 guile_toc.html: guile.texi $(guile_TEXINFOS)
54 $(TEXI2HTML) -split_chapter guile.texi
55
56 guile-tut_toc.html: guile-tut.texi
57 $(TEXI2HTML) -split_chapter guile-tut.texi
58
59 endif
60
61 EXAMPLE_SMOB_FILES = \
62 ChangeLog Makefile README COPYING image-type.c image-type.h myguile.c
63
64 OLDFMT = oldfmt.c
65
66 dist-hook:
67 mkdir $(distdir)/example-smob
68 (cd $(srcdir); \
69 cp $(OLDFMT) $(distdir); \
70 dest="`cd $(distdir)/example-smob; pwd`"; \
71 cd example-smob; \
72 cp $(EXAMPLE_SMOB_FILES) $$dest)
73
74 ## The following two kluges were added so that CVS checkouts would
75 ## build when not configured with `--enable-maintainer-mode'. They
76 ## were removed again since they relied on internal automake features.
77
78 # This rule overrides automake's rule for version.texi. It causes
79 # version.texi to be created even in non-maintainer-mode.
80 #$(srcdir)/version.texi: stamp-vti
81 # @:
82
83 # And the same for version-tutorial.texi.
84 #$(srcdir)/version-tutorial.texi: stamp-vti1
85 # @:
86
87 # pending the papers from Robert Merkel
88 # EXTRA_DIST = guile.1