mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
Add an effective version variable for the manual
This commit is contained in:
parent
d99832a24b
commit
22b5f518f6
6 changed files with 10 additions and 6 deletions
|
@ -1566,6 +1566,7 @@ AC_CONFIG_FILES([test-suite/standalone/test-use-srfi],
|
|||
[chmod +x test-suite/standalone/test-use-srfi])
|
||||
AC_CONFIG_FILES([test-suite/standalone/test-fast-slot-ref],
|
||||
[chmod +x test-suite/standalone/test-fast-slot-ref])
|
||||
AC_CONFIG_FILES([doc/ref/effective-version.texi])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
|
|
|
@ -80,7 +80,8 @@ guile_TEXINFOS = preface.texi \
|
|||
api-init.texi \
|
||||
mod-getopt-long.texi \
|
||||
goops.texi \
|
||||
goops-tutorial.texi
|
||||
goops-tutorial.texi \
|
||||
effective-version.texi
|
||||
|
||||
ETAGS_ARGS = $(info_TEXINFOS) $(guile_TEXINFOS)
|
||||
|
||||
|
|
|
@ -59,8 +59,8 @@ The following command lines give respectively the C compilation and link
|
|||
flags needed to build Guile-using programs:
|
||||
|
||||
@example
|
||||
pkg-config guile-1.8 --cflags
|
||||
pkg-config guile-1.8 --libs
|
||||
pkg-config guile-@value{EFFECTIVE-VERSION} --cflags
|
||||
pkg-config guile-@value{EFFECTIVE-VERSION} --libs
|
||||
@end example
|
||||
|
||||
To ease use of pkg-config with Autoconf, pkg-config comes with a
|
||||
|
@ -71,7 +71,7 @@ accordingly, or prints an error and exits if Guile was not found:
|
|||
@findex PKG_CHECK_MODULES
|
||||
|
||||
@example
|
||||
PKG_CHECK_MODULES([GUILE], [guile-1.8])
|
||||
PKG_CHECK_MODULES([GUILE], [guile-@value{EFFECTIVE-VERSION}])
|
||||
@end example
|
||||
|
||||
Guile comes with additional Autoconf macros providing more information,
|
||||
|
|
1
doc/ref/effective-version.texi.in
Normal file
1
doc/ref/effective-version.texi.in
Normal file
|
@ -0,0 +1 @@
|
|||
@set EFFECTIVE-VERSION @GUILE_EFFECTIVE_VERSION@
|
|
@ -8,6 +8,7 @@
|
|||
@c %**end of header
|
||||
@include version.texi
|
||||
@include lib-version.texi
|
||||
@include effective-version.texi
|
||||
|
||||
@copying
|
||||
This manual documents Guile version @value{VERSION}.
|
||||
|
|
|
@ -64,7 +64,7 @@ Alternatively, you can create a symlink in the Guile directory to SLIB,
|
|||
e.g.:
|
||||
|
||||
@example
|
||||
ln -s /usr/local/lib/slib /usr/local/share/guile/1.8/slib
|
||||
ln -s /usr/local/lib/slib /usr/local/share/guile/@value{EFFECTIVE-VERSION}/slib
|
||||
@end example
|
||||
|
||||
@item
|
||||
|
@ -78,7 +78,7 @@ guile> (quit)
|
|||
@end example
|
||||
|
||||
The catalog data should now be in
|
||||
@file{/usr/local/share/guile/1.8/slibcat}.
|
||||
@file{/usr/local/share/guile/@value{EFFECTIVE-VERSION}/slibcat}.
|
||||
|
||||
If instead you get an error such as:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue