diff --git a/doc/ref/.gitignore b/doc/ref/.gitignore index c76e2e4af..ef6d27cff 100644 --- a/doc/ref/.gitignore +++ b/doc/ref/.gitignore @@ -1,3 +1,2 @@ autoconf-macros.texi -lib-version.texi effective-version.texi diff --git a/doc/ref/Makefile.am b/doc/ref/Makefile.am index 72ef8a1da..c4dd7e50a 100644 --- a/doc/ref/Makefile.am +++ b/doc/ref/Makefile.am @@ -21,7 +21,7 @@ AUTOMAKE_OPTIONS = gnu -BUILT_SOURCES = lib-version.texi standard-library.texi +BUILT_SOURCES = standard-library.texi info_TEXINFOS = guile.texi @@ -119,24 +119,8 @@ autoconf-macros.texi: $(top_srcdir)/meta/guile.m4 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 @@ -161,5 +145,5 @@ $(snarf_doc).texi: $(standard_library_scm_files) "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp" mv "$@.tmp" "$@" -CLEANFILES += $(snarf_doc).texi +CLEANFILES = $(snarf_doc).texi EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am diff --git a/doc/ref/guile.texi b/doc/ref/guile.texi index 9db1a1a35..80854ceec 100644 --- a/doc/ref/guile.texi +++ b/doc/ref/guile.texi @@ -7,7 +7,6 @@ @set MANUAL-REVISION 1 @c %**end of header @include version.texi -@include lib-version.texi @include effective-version.texi @copying