diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 7 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 () |