diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-10-06 10:42:31 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-04-18 13:17:50 +0200 |
commit | 47502e1f9444bef18e833c5f3a18e29a7945c0e8 (patch) | |
tree | c4a5a57dd9c624dcb3ff445728c4ee9d60223dfc | |
parent | abbad970dc7b07be710d55420ba603bad19132d8 (diff) | |
download | librest-0.8.0.tar.gz |
build-sys: Set version to 0.8.00.8.0
We set rest_version to 0.8.0 in configure.ac, but we cannot define it in
terms of api_major, api_minor and api_micro as setting
api_major.api_minor to 0.8 means an ABI break.
Instead, rest package version and api_version are decoupled, api_version
can stay at 0.7 while the package version is set to 0.8.0.
-rw-r--r-- | configure.ac | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index c185068..09420fe 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ -m4_define([api_major], [0]) -m4_define([api_minor], [7]) -m4_define([api_micro], [93]) +m4_define([rest_major], [0]) +m4_define([rest_minor], [8]) +m4_define([rest_micro], [0]) -m4_define([rest_version], [api_major.api_minor.api_micro]) +m4_define([rest_version], [rest_major.rest_minor.rest_micro]) AC_PREREQ([2.63]) @@ -20,8 +20,8 @@ AM_INIT_AUTOMAKE([1.11 foreign -Wno-portability no-define dist-xz]) AM_SILENT_RULES([yes]) -API_MAJOR=api_major -API_MINOR=api_minor +API_MAJOR=0 +API_MINOR=7 AC_SUBST([API_VERSION],[$API_MAJOR.$API_MINOR]) AC_SUBST([API_VERSION_AM],[$API_MAJOR\_$API_MINOR]) AC_DEFINE_UNQUOTED(API_VERSION, [$API_VERSION], [API version]) @@ -141,7 +141,7 @@ AC_OUTPUT([ echo "" echo " LibRest $VERSION" -echo " ================" +echo " =============" echo "" echo " prefix: ${prefix}" echo "" |