2010-05-03 15:58:41 +02:00
|
|
|
# Change this file when releasing a new version.
|
|
|
|
# You'll also need to add a new changelog entry in:
|
|
|
|
# debian/changelog
|
2010-05-06 15:05:00 +02:00
|
|
|
# dist/clementine.spec.in
|
2010-05-03 15:58:41 +02:00
|
|
|
|
|
|
|
# Version numbers. For m.n rc, use m.(n-1).99
|
|
|
|
set(CLEMENTINE_VERSION_MAJOR 0)
|
2010-06-18 17:50:22 +02:00
|
|
|
set(CLEMENTINE_VERSION_MINOR 4)
|
2010-06-07 22:23:28 +02:00
|
|
|
|
|
|
|
set(BUILDBOT_REVISION $ENV{BUILDBOT_REVISION})
|
|
|
|
if(BUILDBOT_REVISION)
|
|
|
|
set(CLEMENTINE_VERSION_PATCH 90)
|
2010-06-18 17:50:22 +02:00
|
|
|
set(CLEMENTINE_VERSION_STRING "0.4 - buildbot r${BUILDBOT_REVISION}") # Displayed in GUIs
|
|
|
|
set(CLEMENTINE_VERSION_SHORT_STRING "0.4r${BUILDBOT_REVISION}") # Used in filenames
|
2010-06-07 22:23:28 +02:00
|
|
|
else(BUILDBOT_REVISION)
|
|
|
|
set(CLEMENTINE_VERSION_PATCH 0)
|
2010-06-18 17:50:22 +02:00
|
|
|
set(CLEMENTINE_VERSION_STRING "0.4")
|
|
|
|
set(CLEMENTINE_VERSION_SHORT_STRING "0.4")
|
2010-06-07 22:23:28 +02:00
|
|
|
endif(BUILDBOT_REVISION)
|
2010-05-03 15:58:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
if (CLEMENTINE_VERSION_PATCH)
|
|
|
|
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}.${CLEMENTINE_VERSION_PATCH})
|
|
|
|
else (CLEMENTINE_VERSION_PATCH)
|
|
|
|
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR})
|
|
|
|
endif (CLEMENTINE_VERSION_PATCH)
|