Add interface to disable automatic finalization
[bpt/guile.git] / doc / ref / Makefile.am
index d534351..d0ea94d 100644 (file)
@@ -1,32 +1,33 @@
 ## Process this file with Automake to create Makefile.in
 ##
-##     Copyright (C) 1998, 2004, 2006, 2008 Free Software Foundation, Inc.
+##   Copyright (C) 1998, 2004, 2006, 2008, 2009, 2010,
+##     2011, 2013 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
+##   GUILE is free software; you can redistribute it and/or modify it
+##   under the terms of the GNU Lesser General Public License as
+##   published by the Free Software Foundation; either version 3, 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.
+##   GNU Lesser 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
+##   You should have received a copy of the GNU Lesser General Public
+##   License along with GUILE; see the file COPYING.LESSER.  If not,
+##   write to the Free Software Foundation, Inc., 51 Franklin Street,
+##   Fifth Floor, Boston, MA 02110-1301 USA
 
 AUTOMAKE_OPTIONS = gnu
 
-BUILT_SOURCES = lib-version.texi
-
 info_TEXINFOS = guile.texi
 
 guile_TEXINFOS = preface.texi                  \
                  intro.texi                    \
+                 tour.texi                     \
+                libguile-parallel.texi         \
                  libguile-program.texi         \
                  scheme-intro.texi             \
                 api-scm.texi                   \
@@ -35,37 +36,45 @@ guile_TEXINFOS = preface.texi                       \
                 scheme-ideas.texi              \
                 api-data.texi                  \
                 api-procedures.texi            \
+                api-macros.texi                \
                 api-utility.texi               \
                 api-binding.texi               \
                 api-control.texi               \
                 api-io.texi                    \
+                api-foreign.texi               \
+                api-regex.texi                 \
+                api-lalr.texi                  \
+                api-languages.texi             \
                 api-evaluation.texi            \
                 api-memory.texi                \
                 api-modules.texi               \
                 api-scheduling.texi            \
                 api-options.texi               \
-                api-translation.texi           \
                 api-i18n.texi                  \
                 api-debug.texi                 \
+                api-coverage.texi              \
                 scheme-reading.texi            \
                 scheme-indices.texi            \
                 slib.texi                      \
                 posix.texi                     \
+                web.texi                       \
                 expect.texi                    \
                 scsh.texi                      \
-                tcltk.texi                     \
+                curried.texi                   \
+                sxml-match.texi                \
                 scheme-scripts.texi            \
                 api-overview.texi              \
-                scheme-debugging.texi          \
+                api-deprecated.texi            \
                 scheme-using.texi              \
                 indices.texi                   \
-                script-getopt.texi             \
                 data-rep.texi                  \
                 repl-modules.texi              \
                 srfi-modules.texi              \
+                r6rs.texi                      \
+                match.texi                     \
                 misc-modules.texi              \
                 api-compound.texi              \
-                autoconf.texi                  \
+                libguile-autoconf.texi         \
                 autoconf-macros.texi           \
                 tools.texi                     \
                 history.texi                   \
@@ -78,35 +87,53 @@ guile_TEXINFOS = preface.texi                       \
                 libguile-linking.texi          \
                 libguile-extensions.texi       \
                 api-init.texi                  \
-                mod-getopt-long.texi
+                mod-getopt-long.texi           \
+                statprof.texi                  \
+                sxml.texi                      \
+                texinfo.texi                   \
+                goops.texi                     \
+                goops-tutorial.texi            \
+                guile-invoke.texi              \
+                effective-version.texi
 
 ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
 
-EXTRA_DIST = ChangeLog-2008
+PICTURES = hierarchy.eps \
+          hierarchy.pdf \
+          hierarchy.png \
+          hierarchy.txt \
+          gds.eps \
+          gds.pdf \
+          gds.txt \
+          scheme.eps \
+          scheme.pdf \
+          scheme.txt \
+          mop.text
+
+noinst_DATA = $(PICTURES)
 
-include $(top_srcdir)/am/pre-inst-guile
+EXTRA_DIST = ChangeLog-2008 $(PICTURES)
 
 # Automated snarfing
 
-autoconf.texi: autoconf-macros.texi
+libguile-autoconf.texi: autoconf-macros.texi
 autoconf-macros.texi: $(top_srcdir)/meta/guile.m4
-       $(preinstguiletool)/snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
+       GUILE_INSTALL_LOCALE=1 GUILE_AUTO_COMPILE=0 \
+       $(top_builddir)/meta/uninstalled-env guild \
+         snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
          > $(srcdir)/$@
 
-lib-version.texi: $(top_srcdir)/GUILE-VERSION
-       cat "$^" | grep '^LIBGUILE_.*_MAJOR' |                          \
-       sed 's/^LIBGUILE_\([A-Z0-9_]*\)_MAJOR=\([0-9]\+\)/@set LIBGUILE_\1_MAJOR \2/'   \
-       > "$@"
+# Build that file from here rather than at the user's site to avoid
+# triggering a rebuild of `guile.info'.  Note that `GUILE-VERSION' is
+# among $(CONFIG_STATUS_DEPENDENCIES); thus, when it's updated, this
+# Makefile is rebuilt, and $(GUILE_EFFECTIVE_VERSION) is up-to-date.
+$(srcdir)/effective-version.texi: $(top_srcdir)/GUILE-VERSION
+       echo "@set EFFECTIVE-VERSION $(GUILE_EFFECTIVE_VERSION)" > $@
 
 MAINTAINERCLEANFILES = autoconf-macros.texi
 
-# To allow "make distcheck" to succeed, lib-version.texi must either
-# be cleaned or be included in the distribution.  Or both - and in
-# fact both are good.  There's no point forcing a distribution build
-# to regenerate lib-version.texi, because it can't possibly be
-# different on the build machine than where the distribution was
-# generated, so we might as well include it in the distribution.
-EXTRA_DIST += lib-version.texi
-# But when we want to get back to a clean tree, lib-version.texi
-# should be cleaned.
-CLEANFILES = lib-version.texi
+www-commit: html
+       cd guile.html; \
+       cvs -d :ext:cvs.sv.gnu.org:/web/guile \
+         import -m 'make www-commit in doc/ref' guile/docs/master/guile.html gnu \
+         $(shell date "+D%Y%m%d%H%M%S")