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

View File

@ -50,7 +50,8 @@ add_custom_target(doc ALL DEPENDS ${doc_targets})
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
DESTINATION ${CMAKE_INSTALL_DOCDIR} DESTINATION ${CMAKE_INSTALL_DOCDIR}
COMPONENT doc) COMPONENT doc
PATTERN ".buildinfo" EXCLUDE)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.1 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1