Add section to vm.texi about Guile's use of ELF
[bpt/guile.git] / doc / ref / Makefile.am
index ee36654..75b1745 100644 (file)
@@ -1,6 +1,7 @@
 ## Process this file with Automake to create Makefile.in
 ##
-##     Copyright (C) 1998, 2004, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
+##   Copyright (C) 1998, 2004, 2006, 2008, 2009, 2010,
+##     2011, 2013 Free Software Foundation, Inc.
 ##
 ##   This file is part of GUILE.
 ##
 
 AUTOMAKE_OPTIONS = gnu
 
-BUILT_SOURCES = standard-library.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                   \
@@ -44,6 +44,7 @@ guile_TEXINFOS = preface.texi                 \
                 api-foreign.texi               \
                 api-regex.texi                 \
                 api-lalr.texi                  \
+                api-peg.texi                   \
                 api-languages.texi             \
                 api-evaluation.texi            \
                 api-memory.texi                \
@@ -60,13 +61,13 @@ guile_TEXINFOS = preface.texi                       \
                 web.texi                       \
                 expect.texi                    \
                 scsh.texi                      \
+                curried.texi                   \
                 sxml-match.texi                \
                 scheme-scripts.texi            \
                 api-overview.texi              \
                 api-deprecated.texi            \
                 scheme-using.texi              \
                 indices.texi                   \
-                script-getopt.texi             \
                 data-rep.texi                  \
                 repl-modules.texi              \
                 srfi-modules.texi              \
@@ -74,7 +75,7 @@ guile_TEXINFOS = preface.texi                 \
                 match.texi                     \
                 misc-modules.texi              \
                 api-compound.texi              \
-                autoconf.texi                  \
+                libguile-autoconf.texi         \
                 autoconf-macros.texi           \
                 tools.texi                     \
                 history.texi                   \
@@ -88,8 +89,12 @@ guile_TEXINFOS = preface.texi                        \
                 libguile-extensions.texi       \
                 api-init.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)
@@ -110,41 +115,25 @@ noinst_DATA = $(PICTURES)
 
 EXTRA_DIST = ChangeLog-2008 $(PICTURES)
 
-include $(top_srcdir)/am/pre-inst-guile
-
 # Automated snarfing
 
-autoconf.texi: autoconf-macros.texi
+libguile-autoconf.texi: autoconf-macros.texi
 autoconf-macros.texi: $(top_srcdir)/meta/guile.m4
-       GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guile-tools \
+       GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guild \
          snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
          > $(srcdir)/$@
 
-MAINTAINERCLEANFILES = autoconf-macros.texi
-
-# Support for snarfing docs out of Scheme modules.
-snarf_doc = standard-library
+# 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)" > $@
 
-$(snarf_doc).am: $(snarf_doc).scm
-       GUILE_AUTO_COMPILE=0 ;                                                  \
-       variable="`echo $(snarf_doc) | tr - _`_scm_files" ;                     \
-       "$(preinstguile)" -l "$(srcdir)/$(snarf_doc).scm" -c "                  \
-        (format #t \"# Automatically generated, do not edit.~%\")              \
-        (format #t \"$$variable = \")                                          \
-        (for-each (lambda (m)                                                  \
-                    (format #t \"$$""(top_srcdir)/module/~a.scm \"             \
-                            (string-join (map symbol->string m) \"/\")))       \
-                  (map car *modules*))" > "$@.tmp"
-       mv "$@.tmp" "$@"
-
-# The following line leads to the definition of $(standard_library_scm_files).
-include standard-library.am
-
-$(snarf_doc).texi: $(standard_library_scm_files)
-       GUILE_AUTO_COMPILE=0                            \
-       "$(preinstguile)" "$(srcdir)/make-texinfo.scm"  \
-         "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp"
-       mv "$@.tmp" "$@"
+MAINTAINERCLEANFILES = autoconf-macros.texi
 
-CLEANFILES = $(snarf_doc).texi
-EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am
+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")