Changes from arch/CVS synchronization
[bpt/guile.git] / doc / ref / Makefile.am
index 4964ed5..7d009ff 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with Automake to create Makefile.in
 ##
-##     Copyright (C) 1998, 2004 Free Software Foundation, Inc.
+##     Copyright (C) 1998, 2004, 2006 Free Software Foundation, Inc.
 ##
 ##   This file is part of GUILE.
 ##
 ##
 ##   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
+##   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                  \
@@ -43,8 +46,8 @@ guile_TEXINFOS = preface.texi                 \
                 api-scheduling.texi            \
                 api-options.texi               \
                 api-translation.texi           \
+                api-i18n.texi                  \
                 api-debug.texi                 \
-                api-deprecated.texi            \
                 scheme-reading.texi            \
                 scheme-indices.texi            \
                 slib.texi                      \
@@ -56,6 +59,7 @@ guile_TEXINFOS = preface.texi                 \
                 gh.texi                        \
                 api-overview.texi              \
                 scheme-debugging.texi          \
+                scheme-using.texi              \
                 indices.texi                   \
                 script-getopt.texi             \
                 data-rep.texi                  \
@@ -85,4 +89,10 @@ autoconf.texi: autoconf-macros.texi
 autoconf-macros.texi: $(top_srcdir)/guile-config/guile.m4
        $(preinstguiletool)/snarf-guile-m4-docs $< > $(srcdir)/$@
 
-CLEANFILES = autoconf-macros.texi
+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