From: Sven Hoexter Date: Sat, 11 May 2024 07:30:03 +0000 (+0200) Subject: Refresh cmake-installs.patch. X-Git-Tag: debian/2.9.28-1~3 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=ffc8cb9f9d25c85368ea4f8ea94deaa9744d619b;p=sven%2Fvym.git Refresh cmake-installs.patch. --- diff --git a/debian/changelog b/debian/changelog index 8a33cb0..c9266f0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ vym (2.9.28-1) UNRELEASED; urgency=medium Upstream commit 8f4e86ca61801ca8a759baa9c6ffb3441b8e8291 * Add a README.source file to describe the tarball creation. * Remove desktop.patch - applied upstream. + * Refresh cmake-installs.patch. -- Sven Hoexter Sat, 11 May 2024 09:23:45 +0200 diff --git a/debian/patches/cmake-installs.patch b/debian/patches/cmake-installs.patch index a15d234..b1ceb59 100644 --- a/debian/patches/cmake-installs.patch +++ b/debian/patches/cmake-installs.patch @@ -1,4 +1,4 @@ -Description: Install doc folder content selectively and do not install +Description: Install only doc folder content and do not install the superfluous license file. Author: Sven Hoexter Last-Update: 2024-05-03 @@ -11,7 +11,7 @@ Index: vym/CMakeLists.txt add_dependencies(vym make-translations-directory) install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}) --install(DIRECTORY doc DESTINATION ${CMAKE_INSTALL_DOCDIR}) +-install(DIRECTORY doc DESTINATION ${CMAKE_INSTALL_DOCDIR} FILES_MATCHING PATTERN "*.pdf") +install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DOCDIR} FILES_MATCHING PATTERN "*.pdf") install(FILES doc/vym.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR}) -install(FILES README.md LICENSE.txt DESTINATION ${CMAKE_INSTALL_DOCDIR})