From c1b5734db58462b72d214a47a90f730118ecf0bc Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Sun, 5 May 2024 11:48:46 +0200 Subject: [PATCH] Use cmakes install directory with a trailing slash Ensure that only the files a copied and not the directory itself. --- debian/patches/cmake-installs.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/patches/cmake-installs.patch b/debian/patches/cmake-installs.patch index 77a1e09..a15d234 100644 --- a/debian/patches/cmake-installs.patch +++ b/debian/patches/cmake-installs.patch @@ -12,7 +12,7 @@ Index: vym/CMakeLists.txt install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}) -install(DIRECTORY doc DESTINATION ${CMAKE_INSTALL_DOCDIR}) -+install(FILES doc/vym.pdf doc/vym_fr.pdf doc/vym_es.pdf DESTINATION ${CMAKE_INSTALL_DOCDIR}) ++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}) +install(FILES README.md DESTINATION ${CMAKE_INSTALL_DOCDIR}) -- 2.39.5