sensord: move systemd-related files to systemd directory 75/33175/1
authorKibak Yoon <kibak.yoon@samsung.com>
Tue, 6 Jan 2015 11:17:44 +0000 (20:17 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Tue, 6 Jan 2015 14:08:57 +0000 (23:08 +0900)
add directory structure and build system file
- it would be better to put them in systemd directory.

Change-Id: I60dc53a09de117e52355a3dcb849b2adf0e5661f
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
CMakeLists.txt
systemd/CMakeLists.txt [new file with mode: 0644]
systemd/sensord.service [moved from packaging/sensord.service with 100% similarity]
systemd/sensord.socket [moved from packaging/sensord.socket with 100% similarity]

index 5228178..3aae422 100755 (executable)
@@ -56,6 +56,7 @@ IF("${TEST_SUITE}" STREQUAL "ON")
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.APLv2 DESTINATION share/license RENAME test)
 ENDIF()
 
+add_subdirectory(systemd)
 add_subdirectory(src)
 
 IF("${TEST_SUITE}" STREQUAL "ON")
diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt
new file mode 100644 (file)
index 0000000..233e8ba
--- /dev/null
@@ -0,0 +1,5 @@
+INSTALL(FILES
+       ${CMAKE_CURRENT_SOURCE_DIR}/sensord.service
+       ${CMAKE_CURRENT_SOURCE_DIR}/sensord.socket
+       DESTINATION lib/systemd/system)
+