Use Gnulib's `git-version-gen'.
* GUILE-VERSION (GUILE_VERSION): Remove. * Makefile.am (dist-hook): Depend on `gen-tarball-version'. (BUILT_SOURCES): New variable. ($(top_srcdir)/.version, gen-tarball-version): New targets. * cfg.mk (git-version-gen-tag-sed-script): New variable. * configure.ac: Use `build-aux/git-version-gen' to generate the VERSION argument of `AC_INIT'. Initialize Automake without `check-news'. Define $GUILE_VERSION as an alias for $PACKAGE_VERSION.
This commit is contained in:
parent
5ad8e59ff5
commit
db10a69bf4
4 changed files with 16 additions and 10 deletions
|
|
@ -1,11 +1,12 @@
|
|||
# -*-shell-script-*-
|
||||
|
||||
# Note: `GUILE_VERSION' is defined in `configure.ac' using `git-version-gen'.
|
||||
GUILE_MAJOR_VERSION=1
|
||||
GUILE_MINOR_VERSION=9
|
||||
GUILE_MICRO_VERSION=10
|
||||
|
||||
GUILE_EFFECTIVE_VERSION=2.0
|
||||
GUILE_VERSION=${GUILE_MAJOR_VERSION}.${GUILE_MINOR_VERSION}.${GUILE_MICRO_VERSION}
|
||||
|
||||
|
||||
# All of the shared lib versioning info. Right now, for this to work
|
||||
# properly, you'll also need to add AC_SUBST calls to the right place
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue