doc: Exclude .buildinfo file from installation

The file contains information about the build itself (hashed) and is not
really useful.
This commit is contained in:
patrick96 2021-01-07 14:15:02 +01:00 committed by Patrick Ziegler
parent 0cfdd88ad0
commit ca8fbe5c86
1 changed files with 2 additions and 1 deletions

View File

@ -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