merge from guile master
[bpt/guile.git] / doc / Makefile.am
dissimilarity index 67%
index c51cf39..8543b05 100644 (file)
@@ -1,84 +1,53 @@
-## Process this file with Automake to create Makefile.in
-##
-##     Copyright (C) 1998 Free Software Foundation, Inc.
-##
-##   This file is part of GUILE.
-##   
-##   GUILE is free software; you can redistribute it and/or modify
-##   it under the terms of the GNU General Public License as
-##   published by the Free Software Foundation; either version 2, or
-##   (at your option) any later version.
-##   
-##   GUILE is distributed in the hope that it will be useful, but
-##   WITHOUT ANY WARRANTY; without even the implied warranty of
-##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-##   GNU General Public License for more details.
-##   
-##   You should have received a copy of the GNU General Public
-##   License along with GUILE; see the file COPYING.  If not, write
-##   to the Free Software Foundation, Inc., 59 Temple Place, Suite
-##   330, Boston, MA 02111-1307 USA
-
-AUTOMAKE_OPTIONS = foreign
-
-# pending the papers from Robert Merkel
-# man_MANS = guile.1
-
-info_TEXINFOS = guile.texi r5rs.texi goops.texi guile-tut.texi
-
-guile_TEXINFOS = preface.texi intro.texi scheme-intro.texi \
-       scheme-ideas.texi scheme-data.texi scheme-procedures.texi \
-       scheme-utility.texi scheme-binding.texi scheme-control.texi \
-       scheme-io.texi scheme-evaluation.texi scheme-memory.texi \
-       scheme-modules.texi scheme-scheduling.texi scheme-options.texi \
-       scheme-translation.texi scheme-debug.texi deprecated.texi \
-       scheme-reading.texi scheme-indices.texi slib.texi posix.texi \
-       expect.texi scsh.texi tcltk.texi scripts.texi gh.texi scm.texi \
-       appendices.texi indices.texi script-getopt.texi data-rep.texi \
-       extend.texi srfi-13-14.texi repl-modules.texi srfi-modules.texi \
-       AUTHORS
-
-guile_tut_TEXINFOS = guile-tut.texi AUTHORS
-
-goops_TEXINFOS = goops-tutorial.texi hierarchy.eps hierarchy.txt AUTHORS
-
-# Optionally support building an HTML version of the reference manual.
-
-if HTMLDOC
-
-htmldir = $(prefix)/html/guile-$(VERSION)
-
-html_DATA = guile_toc.html $(shell ls guile_*.html 2>/dev/null) guile-tut_toc.html $(shell ls guile-tut_*.html 2>/dev/null)
-
-guile_toc.html: guile.texi $(guile_TEXINFOS)
-       $(TEXI2HTML) -split_chapter guile.texi
-
-guile-tut_toc.html: guile-tut.texi
-       $(TEXI2HTML) -split_chapter guile-tut.texi
-
-endif
-
-EXAMPLE_SMOB_FILES = \
-    ChangeLog Makefile README COPYING image-type.c image-type.h myguile.c
-
-OLDFMT = oldfmt.c
-
-dist-hook:
-       mkdir $(distdir)/example-smob
-       (cd $(srcdir); \
-        cp $(OLDFMT) $(distdir); \
-        dest="`cd $(distdir)/example-smob; pwd`"; \
-         cd example-smob; \
-        cp $(EXAMPLE_SMOB_FILES) $$dest)
-
-# This rule overrides automake's rule for version.texi.  It causes
-# version.texi to be created even in non-maintainer-mode.
-$(srcdir)/version.texi: stamp-vti
-       @:
-
-# And the same for version-tutorial.texi.
-$(srcdir)/version-tutorial.texi: stamp-vti1
-       @:
-
-# pending the papers from Robert Merkel
-# EXTRA_DIST = guile.1
+## Process this file with Automake to create Makefile.in
+##
+##     Copyright (C) 1998, 2002, 2006, 2008 Free Software Foundation, Inc.
+##
+##   This file is part of GUILE.
+##
+##   GUILE is free software; you can redistribute it and/or modify
+##   it under the terms of the GNU General Public License as
+##   published by the Free Software Foundation; either version 2, or
+##   (at your option) any later version.
+##
+##   GUILE is distributed in the hope that it will be useful, but
+##   WITHOUT ANY WARRANTY; without even the implied warranty of
+##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+##   GNU General Public License for more details.
+##
+##   You should have received a copy of the GNU General Public
+##   License along with GUILE; see the file COPYING.  If not, write
+##   to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+##   Floor, Boston, MA 02110-1301 USA
+
+AUTOMAKE_OPTIONS = gnu
+
+SUBDIRS = ref tutorial goops r5rs
+
+# pending the papers from Robert Merkel
+# man_MANS = guile.1
+
+EXAMPLE_SMOB_FILES = \
+    ChangeLog Makefile README image-type.c image-type.h myguile.c
+
+OLDFMT = oldfmt.c
+
+dist-hook:
+       cp $(srcdir)/$(OLDFMT) $(distdir)/
+       mkdir $(distdir)/example-smob
+       for f in $(EXAMPLE_SMOB_FILES); do \
+         cp $(srcdir)/example-smob/$$f $(distdir)/example-smob/; \
+        done
+
+EXTRA_DIST = groupings.alist # guile-api.alist
+
+# pending the papers from Robert Merkel
+# EXTRA_DIST = guile.1
+
+if MAINTAINER_MODE
+include $(top_srcdir)/am/maintainer-dirs
+guile-api.alist: guile-api.alist-FORCE
+       ( cd $(top_builddir) ; $(mscripts)/update-guile-api.alist )
+guile-api.alist-FORCE:
+endif
+
+info_TEXINFOS = guile-vm.texi