summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-17 12:07:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-17 12:14:22 +0200
commit97b6c47b21f5d2bfb7a43969f67d6b3ad6edab28 (patch)
tree6a01342ce3dc1996f1cdf965ad3a189a44d35e63 /CMakeLists.txt
parent507ad23581797779f182adc116aae5556d2d2d78 (diff)
cmake: upload tarball to Dropbox but only if I'm the user
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 197bad8b..482bdb6c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -216,7 +216,9 @@ set(filename_0 "${OPENTRACK_COMMIT}")
string(TIMESTAMP filename_1 "%Y%m%d%H%M%S")
set(filename "${CMAKE_BINARY_DIR}/${filename_0}-${filename_1}.zip")
-add_custom_command(OUTPUT ${filename} COMMAND /usr/bin/env sh "${CMAKE_SOURCE_DIR}/make-tar.sh" "${CMAKE_INSTALL_PREFIX}" "${filename}")
+add_custom_command(OUTPUT ${filename} COMMAND /usr/bin/env sh
+ "${CMAKE_SOURCE_DIR}/make-tar.sh" "${CMAKE_INSTALL_PREFIX}"
+ "${filename}" "${CMAKE_BINARY_DIR}")
add_custom_target(tarball DEPENDS "${filename}")
opentrack_module(opentrack-api opentrack)