From: Chanwoo Choi Date: Fri, 4 Feb 2022 03:44:59 +0000 (+0900) Subject: pass: Move pass.pc.in into packaging and remove unused files X-Git-Tag: accepted/tizen/unified/20220302.131908~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F270518%2F1;p=platform%2Fcore%2Fsystem%2Fpass.git pass: Move pass.pc.in into packaging and remove unused files Move pass.pc.in into packaging directory and commit 469051e30f820 ("pass: hal: Replace HAL interface with hal-api-power") has removed the pass-hal-devel package. But, pass-hal-devel.pc.in/.manifest files were not removed. Remove unused pass-hal-devel related files. Change-Id: I7d568a8389c35c5d76064fbb844e76bb65a06a52 Signed-off-by: Chanwoo Choi --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 686a478..1ed88d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,8 +111,10 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/systemd/${PROJECT_NAME}.service.in ${CMAKE_SO INSTALL(FILES ${CMAKE_SOURCE_DIR}/systemd/org.tizen.system.pass.service DESTINATION /usr/share/dbus-1/system-services) INSTALL(FILES ${CMAKE_SOURCE_DIR}/systemd/org.tizen.system.thermal.service DESTINATION /usr/share/dbus-1/system-services) -CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY) -INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/packaging/${PROJECT_NAME}.pc.in + ${CMAKE_CURRENT_SOURCE_DIR}/packaging/${PROJECT_NAME}.pc + @ONLY) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/packaging/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/systemd/ DESTINATION lib/systemd/system FILES_MATCHING diff --git a/packaging/pass-hal-devel.manifest b/packaging/pass-hal-devel.manifest deleted file mode 100644 index 97e8c31..0000000 --- a/packaging/pass-hal-devel.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/pass.pc.in b/packaging/pass.pc.in similarity index 100% rename from pass.pc.in rename to packaging/pass.pc.in diff --git a/pass-hal-devel.pc.in b/pass-hal-devel.pc.in deleted file mode 100644 index 16fcdfc..0000000 --- a/pass-hal-devel.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -# Package Information for pkg-config - -package_name=pass-hal-devel -prefix=@PREFIX@ -exec_prefix=@EXEC_PREFIX@ -libdir=@LIB_INSTALL_DIR@ -includedir=@INCLUDEDIR@ - -Name: ${package_name} -Description: -- -Version: @VERSION@ -Requires: -Cflags: -I${includedir}