summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-07-07 19:01:54 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-07-07 19:01:54 +0800
commit60fe8464798b5ca76848bb628cfa33eeefdc44ee (patch)
tree3c32ca46b881452fcd640628b396e11ac229bf3e
parent69505b952f9fab916a6867b86bbc01b12cb971dd (diff)
downloadplugins-unsupported-60fe8464798b5ca76848bb628cfa33eeefdc44ee.tar.gz
plugins-unsupported-60fe8464798b5ca76848bb628cfa33eeefdc44ee.tar.bz2
Add new release commands
-rw-r--r--CMakeLists.txt12
-rw-r--r--VERSION1
2 files changed, 8 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 388bb50..470e49e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,10 +7,10 @@ find_package (Compiz REQUIRED)
include (CompizCommon)
include (CompizPackage)
-set (COMPIZ_VERSION_MAJOR 0)
-set (COMPIZ_VERSION_MINOR 9)
-set (COMPIZ_VERSION_MICRO 5)
-set (VERSION ${COMPIZ_VERSION_MAJOR}.${COMPIZ_VERSION_MINOR}.${COMPIZ_VERSION_MICRO})
+file (READ ${CMAKE_SOURCE_DIR}/VERSION COMPIZ_RELEASE_VERSION LIMIT 12 OFFSET 0)
+string (STRIP ${COMPIZ_RELEASE_VERSION} COMPIZ_RELEASE_VERSION)
+
+set (VERSION ${COMPIZ_RELEASE_VERSION})
set (COMPIZ_PLUGIN_INSTALL_TYPE "package")
@@ -25,4 +25,6 @@ compiz_print_configure_footer ()
compiz_package_generation ("Compiz Plugins Unsupported")
compiz_add_git_dist ()
-compiz_add_uninstall ()
+compiz_add_distcheck ()
+compiz_add_release ()
+compiz_add_release_signoff ()
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..719a233
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+0.9.5.0