From ca8fbe5c86869d7f7cc2b2d1fc10fad313c6d503 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Thu, 7 Jan 2021 14:15:02 +0100 Subject: [PATCH] doc: Exclude .buildinfo file from installation The file contains information about the build itself (hashed) and is not really useful. --- doc/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 006eaf97..66447239 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -50,7 +50,8 @@ add_custom_target(doc ALL DEPENDS ${doc_targets}) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${CMAKE_INSTALL_DOCDIR} - COMPONENT doc) + COMPONENT doc + PATTERN ".buildinfo" EXCLUDE) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1