diff ui/CMakeLists.txt @ 738:ea8d13590cbd

Added trustbridge-tray-starter script for use with cron job. TODO: trustbridge must safe $DISPLAY in $CFGDIR/trustbridge-tray-starter.cfg
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Jul 2014 12:32:51 +0200
parents b0929968562a
children 627e8d678b6d
line wrap: on
line diff
--- a/ui/CMakeLists.txt	Thu Jul 03 17:08:22 2014 +0200
+++ b/ui/CMakeLists.txt	Fri Jul 04 12:32:51 2014 +0200
@@ -201,9 +201,12 @@
    ${EXTRA_STATIC_LIBS}
    ${PROFILING_LIBS})
 
-
 # Tests
 add_subdirectory(tests)
 
 install(TARGETS trustbridge DESTINATION bin)
 install(TARGETS trustbridge-admin DESTINATION bin)
+if(UNIX)
+  configure_file(trustbridge-tray-starter.sh trustbridge-tray-starter.sh COPYONLY)
+  install(FILES trustbridge-tray-starter.sh DESTINATION bin)
+endif()

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