Update (ice-9 match) from Chibi-Scheme.
[bpt/guile.git] / doc / ref / Makefile.am
index 16cf7a2..423a9df 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 Free Software Foundation, Inc.
 ##
 ##   This file is part of GUILE.
 ##
 
 AUTOMAKE_OPTIONS = gnu
 
-BUILT_SOURCES = lib-version.texi standard-library.texi
+BUILT_SOURCES = standard-library.texi
 
 info_TEXINFOS = guile.texi
 
 guile_TEXINFOS = preface.texi                  \
                  intro.texi                    \
+                 tour.texi                     \
                  libguile-program.texi         \
                  scheme-intro.texi             \
                 api-scm.texi                   \
@@ -41,31 +43,35 @@ guile_TEXINFOS = preface.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                      \
+                sxml-match.texi                \
                 scheme-scripts.texi            \
                 api-overview.texi              \
-                api-discdepr.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                  \
@@ -84,6 +90,7 @@ guile_TEXINFOS = preface.texi                 \
                 mod-getopt-long.texi           \
                 goops.texi                     \
                 goops-tutorial.texi            \
+                guile-invoke.texi              \
                 effective-version.texi
 
 ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
@@ -104,47 +111,30 @@ noinst_DATA = $(PICTURES)
 
 EXTRA_DIST = ChangeLog-2008 $(PICTURES)
 
-include $(top_srcdir)/am/pre-inst-guile
-
 # Automated snarfing
 
 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)/$@
 
-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/'   \
-       > "$@"
-
 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
-
 # Support for snarfing docs out of Scheme modules.
 snarf_doc = standard-library
 
 $(snarf_doc).am: $(snarf_doc).scm
        GUILE_AUTO_COMPILE=0 ;                                                  \
        variable="`echo $(snarf_doc) | tr - _`_scm_files" ;                     \
-       "$(preinstguile)" -l "$(srcdir)/$(snarf_doc).scm" -c "                  \
+       "$(top_builddir_absolute)/meta/guile" -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"
+                    (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).
@@ -152,9 +142,16 @@ include standard-library.am
 
 $(snarf_doc).texi: $(standard_library_scm_files)
        GUILE_AUTO_COMPILE=0                            \
-       "$(preinstguile)" "$(srcdir)/make-texinfo.scm"  \
+       "$(top_builddir_absolute)/meta/guile" "$(srcdir)/make-texinfo.scm"      \
          "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp"
        mv "$@.tmp" "$@"
 
-CLEANFILES += $(snarf_doc).texi
+DISTCLEANFILES = $(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")