comparison CMakeLists.txt @ 1118:fd85a02d771d

(issue54) Implement a privilege drop to execute the program after installation. This commit is extremly ugly as I accidentally worked in a working tree that was partially merged with default. To review the real change please check the commit that will merge this branch into default.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 16 Sep 2014 19:45:19 +0200
parents 1c1964c27b39 153af47456d0
children 6950f08342bb
comparison
equal deleted inserted replaced
1117:5b6203f78b4e 1118:fd85a02d771d
151 message (STATUS "WARNING could not find sphinx (Package python-sphinx). Manuals will not be built.") 151 message (STATUS "WARNING could not find sphinx (Package python-sphinx). Manuals will not be built.")
152 else() 152 else()
153 add_subdirectory(manuals) 153 add_subdirectory(manuals)
154 endif() 154 endif()
155 155
156 # Configure packaging script for testing 156 add_subdirectory(packaging)
157 configure_file (packaging/win-createpackage.sh.in packaging/win-createpackage.sh @ONLY)
158 configure_file (packaging/create-dist-package.sh.in packaging/create-dist-package.sh @ONLY)
159 configure_file (packaging/linux-createpackage.sh.in packaging/linux-createpackage.sh @ONLY)
160 configure_file (packaging/linux-installer.inc.in packaging/linux-installer.inc @ONLY)
161 configure_file (packaging/linux-installer.l10n-de packaging/linux-installer.l10n-de COPYONLY)
162 157
163 if (ENABLE_PROFILING) 158 if (ENABLE_PROFILING)
164 configure_file (make-coverage.sh.in make-coverage.sh) 159 configure_file (make-coverage.sh.in make-coverage.sh)
165 add_custom_target(lcov COMMENT "Lcov coverage report" VERBATIM COMMAND /bin/bash 160 add_custom_target(lcov COMMENT "Lcov coverage report" VERBATIM COMMAND /bin/bash
166 ${CMAKE_CURRENT_BINARY_DIR}/make-coverage.sh 161 ${CMAKE_CURRENT_BINARY_DIR}/make-coverage.sh

http://wald.intevation.org/projects/trustbridge/