summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2015-04-19 00:26:33 +0600
committerAnton Adamansky <adamansky@gmail.com>2015-04-19 00:26:33 +0600
commit8fbadcfd83a457fdf18226c2e59b38736d7a7cce (patch)
treeb625f9af164d8904a557328e9c5db497c4acf775
parent90989ac47b98f0f9b1caecf30833fe116c911561 (diff)
downloadejdb-8fbadcfd83a457fdf18226c2e59b38736d7a7cce.tar.gz
ejdb-8fbadcfd83a457fdf18226c2e59b38736d7a7cce.tar.bz2
ejdb-8fbadcfd83a457fdf18226c2e59b38736d7a7cce.zip
minors
-rw-r--r--CMakeLists.txt1
-rw-r--r--installer/CMakeLists.txt4
2 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e806cf5..6eb5a9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,7 @@ option(PACKAGE_DEB "Build .deb instalation packages" OFF)
option(PACKAGE_TGZ "Build .tgz package archive" ON)
option(ENABLE_PPA "Enable PPA package build" OFF)
option(UPLOAD_PPA "Upload debian packages to the launchpad ppa repository" OFF)
+option(PPA_DEBIAN_VERSION "PPA version suffix for debian packages" "ppa1")
if (POLICY CMP0042)
cmake_policy(SET CMP0042 NEW)
diff --git a/installer/CMakeLists.txt b/installer/CMakeLists.txt
index 3f26ab3..f9cb895 100644
--- a/installer/CMakeLists.txt
+++ b/installer/CMakeLists.txt
@@ -33,7 +33,9 @@ if (PACKAGE_DEB)
set(CPACK_DEBIAN_PACKAGE_PRIORITY optional)
set(CPACK_DEBIAN_PACKAGE_DEPENDS zlib1g)
set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS pkg-config git devscripts dh-make zlib1g-dev)
- set(PPA_DEBIAN_VERSION ppa3)
+ if (NOT PPA_DEBIAN_VERSION)
+ set(PPA_DEBIAN_VERSION ppa1)
+ endif()
if (PROJECT_PPA)
set(DPUT_HOST ${PROJECT_PPA})
endif()