From 0cfb89ffb4f61d2d853803f614756c5bbcb75868 Mon Sep 17 00:00:00 2001 From: Henri DF Date: Thu, 31 Mar 2016 20:47:00 -0700 Subject: [PATCH] Add digwatch.conf to package, install to /etc --- CMakeLists.txt | 3 ++- rules/CMakeLists.txt | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rules/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 47406960..0d81153f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ if(NOT DEFINED DIGWATCH_VERSION) endif() if(NOT DEFINED DIR_ETC) - set(DIR_ETC "${CMAKE_INSTALL_PREFIX}/etc") + set(DIR_ETC "/etc") endif() set(DRAIOS_DEBUG_FLAGS "-D_DEBUG") @@ -144,6 +144,7 @@ add_subdirectory(${SYSDIG_DIR}/driver ${PROJECT_BINARY_DIR}/driver) add_subdirectory(${SYSDIG_DIR}/userspace/libscap ${PROJECT_BINARY_DIR}/userspace/libscap) add_subdirectory(${SYSDIG_DIR}/userspace/libsinsp ${PROJECT_BINARY_DIR}/userspace/libsinsp) +add_subdirectory(rules) add_subdirectory(userspace/digwatch) diff --git a/rules/CMakeLists.txt b/rules/CMakeLists.txt new file mode 100644 index 00000000..b1c34ae1 --- /dev/null +++ b/rules/CMakeLists.txt @@ -0,0 +1,3 @@ +install(FILES digwatch.conf + DESTINATION "${DIR_ETC}") +