From: Pino Toscano Date: Sat, 26 Oct 2024 08:59:34 +0000 (+0200) Subject: [PATCH] cmake: Do not install .gitignore files X-Git-Tag: archive/raspbian/2.6.1-1+rpi1^2^2^2^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=de03cbe187b37826ffdde907abb05d7d5ba69c32;p=qbs.git [PATCH] cmake: Do not install .gitignore files Avoid installing .gitignore files from the resources, as they are of no much use. Change-Id: I606544a2125bb97124e6f2b1322ccdbfb695c08c Reviewed-by: Ivan Komissarov Gbp-Pq: Name upstream_cmake-Do-not-install-.gitignore-files.patch --- diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index e47bd74f..36244c53 100644 --- a/share/CMakeLists.txt +++ b/share/CMakeLists.txt @@ -52,7 +52,9 @@ add_custom_command( ) install( DIRECTORY qbs - DESTINATION "${QBS_RESOURCES_INSTALL_DIR}") + DESTINATION "${QBS_RESOURCES_INSTALL_DIR}" + PATTERN ".gitignore" EXCLUDE + ) # install examples dir install(