Prepare database queries during PrivilegeDb singleton init
[platform/core/security/security-manager.git] / systemd / CMakeLists.txt
index 4f6e9ca..66af5dd 100644 (file)
@@ -1,11 +1,9 @@
+CONFIGURE_FILE(security-manager.service.in security-manager.service @ONLY)
+
 INSTALL(FILES
-    ${CMAKE_SOURCE_DIR}/systemd/security-server.service
-    ${CMAKE_SOURCE_DIR}/systemd/security-server.socket
-    ${CMAKE_SOURCE_DIR}/systemd/security-server-data-share.socket
-    ${CMAKE_SOURCE_DIR}/systemd/security-server-get-gid.socket
-    ${CMAKE_SOURCE_DIR}/systemd/security-server-privilege-by-pid.socket
-    ${CMAKE_SOURCE_DIR}/systemd/security-server-exec-path.socket
+    security-manager.service
+    security-manager.target
+    security-manager.socket
     DESTINATION
-    /usr/lib/systemd/system
+    ${SYSTEMD_INSTALL_DIR}
 )
-