From: Sven Hoexter Date: Sun, 5 May 2024 09:48:46 +0000 (+0200) Subject: Use cmakes install directory with a trailing slash X-Git-Tag: debian/2.9.27-1~10 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=c1b5734db58462b72d214a47a90f730118ecf0bc;p=sven%2Fvym.git Use cmakes install directory with a trailing slash Ensure that only the files a copied and not the directory itself. --- 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})