1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-22 12:30:32 +02:00

doc/ref lib-version.texi removal

* doc/ref/.gitignore:
* doc/ref/Makefile.am:
* doc/ref/guile.texi: Remove rules for generating an unused
  lib-version.texi.
This commit is contained in:
Andy Wingo 2010-09-12 23:44:16 +02:00
parent cf7e51b489
commit d773d4c8bc
3 changed files with 2 additions and 20 deletions

1
doc/ref/.gitignore vendored
View file

@ -1,3 +1,2 @@
autoconf-macros.texi autoconf-macros.texi
lib-version.texi
effective-version.texi effective-version.texi

View file

@ -21,7 +21,7 @@
AUTOMAKE_OPTIONS = gnu AUTOMAKE_OPTIONS = gnu
BUILT_SOURCES = lib-version.texi standard-library.texi BUILT_SOURCES = standard-library.texi
info_TEXINFOS = guile.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 \ snarf-guile-m4-docs $(top_srcdir)/meta/guile.m4 \
> $(srcdir)/$@ > $(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 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. # Support for snarfing docs out of Scheme modules.
snarf_doc = standard-library snarf_doc = standard-library
@ -161,5 +145,5 @@ $(snarf_doc).texi: $(standard_library_scm_files)
"$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp" "$(abs_srcdir)/$(snarf_doc).scm" > "$@.tmp"
mv "$@.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 EXTRA_DIST += $(snarf_doc).scm make-texinfo.scm $(snarf_doc).texi $(snarf_doc).am

View file

@ -7,7 +7,6 @@
@set MANUAL-REVISION 1 @set MANUAL-REVISION 1
@c %**end of header @c %**end of header
@include version.texi @include version.texi
@include lib-version.texi
@include effective-version.texi @include effective-version.texi
@copying @copying