Commit | Line | Data |
---|---|---|
2764bd99 JB |
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 | |
7d12f033 | 21 | |
9cca936f NJ |
22 | AUTOMAKE_OPTIONS = foreign |
23 | ||
24 | info_TEXINFOS = guile.texi r4rs.texi r5rs.texi goops.texi guile-tut.texi | |
25 | ||
26 | guile_TEXINFOS = preface.texi intro.texi scheme-intro.texi \ | |
27 | scheme-ideas.texi scheme-data.texi scheme-procedures.texi \ | |
28 | scheme-utility.texi scheme-binding.texi scheme-control.texi \ | |
29 | scheme-io.texi scheme-evaluation.texi scheme-memory.texi \ | |
30 | scheme-modules.texi scheme-scheduling.texi scheme-options.texi \ | |
31 | scheme-translation.texi scheme-debug.texi deprecated.texi \ | |
32 | scheme-reading.texi scheme-indices.texi slib.texi posix.texi \ | |
33 | expect.texi scsh.texi tcltk.texi scripts.texi gh.texi scm.texi \ | |
34 | appendices.texi indices.texi | |
35 | ||
36 | goops_TEXINFOS = goops-tutorial.texi hierarchy.eps hierarchy.txt | |
37 | ||
38 | # Optionally support building an HTML version of the reference manual. | |
39 | ||
40 | if HTML | |
41 | ||
42 | htmldir = $(prefix)/html/guile-$(VERSION) | |
43 | ||
44 | html_DATA = guile_toc.html $(shell ls guile_*.html 2>/dev/null) guile-tut_toc.html $(shell ls guile-tut_*.html 2>/dev/null) | |
45 | ||
46 | guile_toc.html: guile.texi $(guile_TEXINFOS) | |
47 | $(TEXI2HTML) -split_chapter guile.texi | |
48 | ||
49 | guile-tut_toc.html: guile-tut.texi | |
50 | $(TEXI2HTML) -split_chapter guile-tut.texi | |
51 | ||
52 | endif | |
505ede18 | 53 | |
7d12f033 | 54 | EXAMPLE_SMOB_FILES = \ |
1233aa72 | 55 | ChangeLog Makefile README COPYING image-type.c image-type.h myguile.c |
7d12f033 | 56 | |
fa88b584 MD |
57 | OLDFMT = oldfmt.c |
58 | ||
7d12f033 JB |
59 | dist-hook: |
60 | mkdir $(distdir)/example-smob | |
fa88b584 MD |
61 | (cd $(srcdir); \ |
62 | cp $(OLDFMT) $(distdir); \ | |
63 | dest="`cd $(distdir)/example-smob; pwd`"; \ | |
64 | cd example-smob; \ | |
7d12f033 | 65 | cp $(EXAMPLE_SMOB_FILES) $$dest) |
9cca936f NJ |
66 | |
67 | # This rule overrides automake's rule for version.texi. It causes | |
68 | # version.texi to be created even in non-maintainer-mode. | |
69 | # | |
70 | $(srcdir)/version.texi: stamp-vti | |
71 | @: |