File do-not-install-docs.patch of Package dlt-viewer
From adb3aa279a2438a8543b127597c550c2523596d2 Mon Sep 17 00:00:00 2001
From: Alexandre Vicenzi <alexandre.vicenzi@suse.com>
Date: Thu, 5 Jan 2023 19:30:37 +0100
Subject: [PATCH] Do not install docs
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 604e258..913f520 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -77,18 +77,6 @@ else()
set(DLT_ADDITIONAL_FILES_INSTALLATION_PATH "/usr/share/dlt-viewer")
endif()
-install(FILES
- ../LICENSE.txt
- ../MPL.txt
- ../README.md
- ../ReleaseNotes_Viewer.txt
- DESTINATION "${DLT_ADDITIONAL_FILES_INSTALLATION_PATH}"
- COMPONENT dlt_viewer)
-install(FILES
- ../doc/dlt_viewer_user_manual.pdf
- ../doc/dlt_viewer_plugins_programming_guide.pdf
- DESTINATION "${DLT_ADDITIONAL_FILES_INSTALLATION_PATH}/doc"
- COMPONENT documentation)
install(DIRECTORY
../filters
DESTINATION "${DLT_ADDITIONAL_FILES_INSTALLATION_PATH}"