summaryrefslogtreecommitdiffstats
path: root/package.sh.in
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-03-21 15:46:53 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-03-21 15:46:53 +0100
commite18891b3d8980445d54528bd6653403385c0671c (patch)
tree3fb2481442ae344d8b33e81dd011627f464552a4 /package.sh.in
parent3b524734a29824986ce0344e06cb81527cd266d8 (diff)
parent9bdf1616c6f1360658c7a97c0d7e681a932b4ee7 (diff)
downloaduca-e18891b3d8980445d54528bd6653403385c0671c.tar.gz
uca-e18891b3d8980445d54528bd6653403385c0671c.tar.bz2
uca-e18891b3d8980445d54528bd6653403385c0671c.tar.xz
uca-e18891b3d8980445d54528bd6653403385c0671c.zip
Merge branch 'dexela'
Conflicts: plugins/dexela/CMakeLists.txt src/CMakeLists.txt
Diffstat (limited to 'package.sh.in')
-rw-r--r--package.sh.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package.sh.in b/package.sh.in
index 7c15b78..b9ac673 100644
--- a/package.sh.in
+++ b/package.sh.in
@@ -1,5 +1,7 @@
-cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;libraries;/"
-cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;headers;/" -D CPACK_PACKAGE_FILE_NAME="libuca-${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}-devel"
+HEADERS_POSTFIX="devel"
+
+cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;libraries;/" -D CPACK_PACKAGE_VERSION=${UCA_VERSION_STRING}
+cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;headers;/" -D CPACK_PACKAGE_NAME="${CPACK_PACKAGE_NAME}-$HEADERS_POSTFIX" -D CPACK_PACKAGE_FILE_NAME="${CPACK_PACKAGE_NAME}-${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}-$HEADERS_POSTFIX"
# Build packages for all available cameras
for shell_script in `find -name 'package-plugin-*.sh'`; do