diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-05-19 14:19:36 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-05-19 14:19:36 +0200 |
commit | cdc04d567ad174e406d8119e15280812da287484 (patch) | |
tree | ae8d47c3b29eef4b8b03da747dd3eb8ff2cb89ad /configure.ac | |
parent | f41158f987a28a9e63300f8dc4cda1d1f642fa14 (diff) | |
download | spice-cdc04d567ad174e406d8119e15280812da287484.tar.gz spice-cdc04d567ad174e406d8119e15280812da287484.tar.xz spice-cdc04d567ad174e406d8119e15280812da287484.zip |
Update 'release' instructions in configure.ac
The instructions are obsolete, replace them with the explanation about
how to handle current/revision/age from libtool manual:
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index 6fe566f6..15fa171f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,27 +1,20 @@ AC_PREREQ([2.57]) -# Making releases: -# 1. The version is SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO -# 2. It is generated via a two stage process: -# 1. Create a tag -# 2. run configure which calls git-version-gen. -# 3. Follow these rules for setting the next tag (aka tarball version): -# 1. SPICE_MAJOR remains 0 until a major change is done. -# 2. Increment SPICE_MINOR to next even value on a significant release, -# updating the release schedule: http://www.spice-space.org/page/Releases -# 3. Increment SPICE_MINOR otherwise. -# 4. Follow the libtool manual for the so version: -# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html - +# Follow the libtool manual for the so version: +# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +# - If the library source code has changed at all since the last update, +# then increment revision (‘c:r:a’ becomes ‘c:r+1:a’). +# - If any interfaces have been added, removed, or changed since the last update, +# increment current, and set revision to 0. +# - If any interfaces have been added since the last public release, +# then increment age. +# - If any interfaces have been removed or changed since the last public release, +# then set age to 0. +# m4_define([SPICE_CURRENT], [9]) m4_define([SPICE_REVISION], [0]) m4_define([SPICE_AGE], [8]) -# Note on the library name on linux (SONAME) produced by libtool (for reference, gleaned -# from looking at libtool 2.4.2) -# -# libspice-server.so.current-age.age.revision - AC_INIT(spice, [m4_esyscmd(build-aux/git-version-gen .tarball-version)], [spice-devel@lists.freedesktop.org], spice) |