소스 검색

removed adding symlinks to install_manifest.txt because it didn't work

Maldela 9 년 전
부모
커밋
9dffece1b2
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      helper/MoveSystemFiles.cmake

+ 1 - 3
helper/MoveSystemFiles.cmake

@@ -8,9 +8,9 @@ set(helper_service_file "share/dbus-1/system-services/fancontrol.gui.helper.serv
 set(helper_conf_file_destination "/${helper_conf_file}")
 set(helper_bin_file_destination "/usr/${helper_bin_file}")
 set(helper_service_file_destination "/usr/${helper_service_file}")
+set(install_manifest_path "${CMAKE_SOURCE_DIR}/install_manifest.txt")
 
 execute_process(COMMAND ln -sf ${CMAKE_INSTALL_PREFIX}/${helper_conf_file} ${helper_conf_file_destination} RESULT_VARIABLE result OUTPUT_VARIABLE output)
-file(APPEND "${CMAKE_SOURCE_DIR}/install_manifest.txt" "${helper_conf_file_destination}")
 message(STATUS "Creating symlink: ${helper_conf_file_destination} -> ${CMAKE_INSTALL_PREFIX}/${helper_conf_file}")
 
 if(${result})
@@ -19,7 +19,6 @@ if(${result})
 endif(${result})
 
 execute_process(COMMAND ln -sf ${CMAKE_INSTALL_PREFIX}/${helper_bin_file} ${helper_bin_file_destination} RESULT_VARIABLE result OUTPUT_VARIABLE output)
-file(APPEND "${CMAKE_SOURCE_DIR}/install_manifest.txt" "${helper_bin_file_destination}")
 message(STATUS "Creating symlink: ${helper_bin_file_destination} -> ${CMAKE_INSTALL_PREFIX}/${helper_bin_file}")
 
 if(${result})
@@ -28,7 +27,6 @@ if(${result})
 endif(${result})
 
 execute_process(COMMAND ln -sf ${CMAKE_INSTALL_PREFIX}/${helper_service_file} ${helper_service_file_destination} RESULT_VARIABLE result OUTPUT_VARIABLE output)
-file(APPEND "${CMAKE_SOURCE_DIR}/install_manifest.txt" "${helper_service_file_destination}")
 message(STATUS "Creating symlink: ${helper_service_file_destination} -> ${CMAKE_INSTALL_PREFIX}/${helper_service_file}")
 
 if(${result})