Commit ecdd0fb3 authored by Cyrille Berger Skott's avatar Cyrille Berger Skott
Browse files

alpha are not numbered and yield the version .90

parent ff5ecf89
......@@ -33,7 +33,7 @@
* it contains the version at compile time. See Calligra::versionString() if you need
* the Calligra version used at runtime.
*/
#define CALLIGRA_VERSION_STRING "2.5 Alpha 1"
#define CALLIGRA_VERSION_STRING "2.5 Alpha"
/**
* @def CALLIGRA_VERSION_MAJOR
......@@ -51,6 +51,13 @@
*/
#define CALLIGRA_STABLE_VERSION_MINOR 5
/**
* @def CALLIGRA_VERSION_RELEASE
* @ingroup CalligraMacros
* @brief Release version of Calligra, at compile time
*/
#define CALLIGRA_VERSION_RELEASE 90
/**
* @def CALLIGRA_ALPHA
* @ingroup CalligraMacros
......@@ -92,23 +99,6 @@
# define CALLIGRA_VERSION_MINOR (CALLIGRA_STABLE_VERSION_MINOR - 1)
#endif
/**
* @def CALLIGRA_VERSION_RELEASE
* @ingroup CalligraMacros
* @brief Release version of Calligra, at compile time
*/
#ifdef CALLIGRA_ALPHA
# define CALLIGRA_VERSION_RELEASE (70 + CALLIGRA_ALPHA)
#elif defined CALLIGRA_BETA
# define CALLIGRA_VERSION_RELEASE (80 + CALLIGRA_BETA)
#elif defined CALLIGRA_RC
# define CALLIGRA_VERSION_RELEASE (90 + CALLIGRA_RC)
#elif defined CALLIGRA_STABLE
# define CALLIGRA_VERSION_RELEASE CALLIGRA_STABLE
#else
# error Define exactly one of these macros: CALLIGRA_ALPHA, CALLIGRA_BETA, CALLIGRA_RC, CALLIGRA_STABLE
#endif
/**
* @ingroup CalligraMacros
* @brief Make a number from the major, minor and release number of a Calligra version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment