From 7259a1256afc853b91aa09cd48592a706591fa08 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 6 Dec 2012 13:06:14 -0500 Subject: Parameterizing RESTEasy paths. The paths to RESTEasy jar files have been modified such that it can be configured globally at build time using the spec file to support different distributions, and at deployment time using a system-wide configuration in /etc/pki/pki.conf. Ticket #422, #423. --- base/deploy/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'base/deploy/CMakeLists.txt') diff --git a/base/deploy/CMakeLists.txt b/base/deploy/CMakeLists.txt index d63176f1a..3b1d9f583 100644 --- a/base/deploy/CMakeLists.txt +++ b/base/deploy/CMakeLists.txt @@ -67,6 +67,19 @@ install( etc/ DESTINATION ${SYSCONF_INSTALL_DIR}/pki + PATTERN "pki.conf" EXCLUDE +) + +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/etc/pki.conf + ${CMAKE_CURRENT_BINARY_DIR}/etc/pki.conf +) + +install( + FILES + ${CMAKE_CURRENT_BINARY_DIR}/etc/pki.conf + DESTINATION + ${SYSCONF_INSTALL_DIR}/pki/ ) find_package(PythonInterp REQUIRED) -- cgit