first commit

This commit is contained in:
Stefan Hacker
2026-03-22 21:25:09 +01:00
commit a5a9d86205
180 changed files with 13006 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
if(NOT EXISTS "/home/duffy/Dokumente/programmierung/kde-dolphin-ftp-sharing-tab/kf5/build/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: /home/duffy/Dokumente/programmierung/kde-dolphin-ftp-sharing-tab/kf5/build/install_manifest.txt")
endif()
file(READ "/home/duffy/Dokumente/programmierung/kde-dolphin-ftp-sharing-tab/kf5/build/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
"/usr/bin/cmake" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif()
else()
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
endif()
endforeach()