diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-10-11 16:34:46 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-10-18 09:30:31 +0200 |
commit | 38ba270af828b80e0ffb5eab955aff733de17dba (patch) | |
tree | 8f1c9dc7f0abfc212675f93e01854722e9fcf89d /conf | |
parent | 353f837dd260914d814748cc196d129234ba265f (diff) |
Minor improvements
- Clean cmake files
- Fix orthograph and vocabulary
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt index 31a5963..32a0cc4 100644 --- a/conf/CMakeLists.txt +++ b/conf/CMakeLists.txt @@ -21,15 +21,15 @@ cmake_minimum_required(VERSION 2.8) configure_file(afm-launch.conf.in afm-launch.conf) if(NOT USE_SDK) - setc(SYSCONFDIR_DBUS_SYSTEM ${CMAKE_INSTALL_SYSCONFDIR}/dbus-1/system.d) - setc(SYSCONFDIR_DBUS_USER ${CMAKE_INSTALL_SYSCONFDIR}/dbus-1/session.d) - setc(UNITDIR_SYSTEM ${CMAKE_INSTALL_LIBDIR}/systemd/system) - setc(UNITDIR_USER ${CMAKE_INSTALL_LIBDIR}/systemd/user) + set(SYSCONFDIR_DBUS_SYSTEM ${CMAKE_INSTALL_SYSCONFDIR}/dbus-1/system.d CACHE STRING "Path to dbus system configuration files") + set(SYSCONFDIR_DBUS_USER ${CMAKE_INSTALL_SYSCONFDIR}/dbus-1/session.d CACHE STRING "Path to dbus session configuration files") + set(UNITDIR_SYSTEM ${CMAKE_INSTALL_LIBDIR}/systemd/system CACHE STRING "Path to systemd system unit files") + set(UNITDIR_USER ${CMAKE_INSTALL_LIBDIR}/systemd/user CACHE STRING "Path to systemd system unit files") install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/afm-system-daemon.conf DESTINATION ${SYSCONFDIR_DBUS_SYSTEM}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/afm-system-daemon.service DESTINATION ${UNITDIR_SYSTEM}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/afm-user-daemon.conf DESTINATION ${SYSCONFDIR_DBUS_USER}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/afm-user-daemon.service DESTINATION ${UNITDIR_USER}) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/afm-launch.conf DESTINATION ${afm_confdir}) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/afm-launch.conf DESTINATION ${afm_confdir}) endif() |