## 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 \
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 \
gh.texi \
api-overview.texi \
scheme-debugging.texi \
+ scheme-using.texi \
indices.texi \
script-getopt.texi \
data-rep.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