[icinga-checkins] icinga.org: icinga2/next: Fix missing install action

git at icinga.org git at icinga.org
Fri Jun 13 22:04:48 CEST 2014


Module: icinga2
Branch: next
Commit: 614af5b0e5606950d5a68dc11ea6307d85c30924
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=614af5b0e5606950d5a68dc11ea6307d85c30924

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Fri Jun 13 22:04:24 2014 +0200

Fix missing install action

refs #6481

---

 tools/CMakeLists.txt |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index d5fca23..cc799f8 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -20,5 +20,12 @@ add_subdirectory(mkembedconfig)
 
 if(UNIX OR CYGWIN)
   configure_file(icinga2-enable-feature.cmake ${CMAKE_CURRENT_BINARY_DIR}/icinga2-enable-feature @ONLY)
+
+  install(
+    FILES ${CMAKE_CURRENT_BINARY_DIR}/icinga2-enable-feature
+    DESTINATION ${CMAKE_INSTALL_SBINDIR}
+    PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+  )
+
   install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink ./icinga2-enable-feature \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_SBINDIR}/icinga2-disable-feature\")")
 endif()



More information about the icinga-checkins mailing list