From: Samuel Henrique Date: Sat, 14 Aug 2021 17:20:54 +0000 (+0100) Subject: Don't generate html docs as they only ship the manpage X-Git-Tag: archive/raspbian/3.5.7-1+rpi1~1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e4acef07ff6aa43f70502d1e0a7d9d794b08e345;p=polybar.git Don't generate html docs as they only ship the manpage Forwarded: not-needed Gbp-Pq: Name dont_build_html_doc.patch --- diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index fb8ad29..cc7f1d9 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -16,7 +16,7 @@ set(doc_path "${CMAKE_CURRENT_SOURCE_DIR}") configure_file(conf.py conf.py @ONLY) # We want to run `sphinx-build` with the following builders -set(doc_builders "html" "man") +set(doc_builders "man") # Name of all documentation targets set(doc_targets "") @@ -56,9 +56,9 @@ if(${CMAKE_PROJECT_NAME} STREQUAL "polybar-doc") set(PROJECT_NAME "polybar-doc") endif() -install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ - DESTINATION ${CMAKE_INSTALL_DOCDIR} - COMPONENT doc) +#install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ +# DESTINATION ${CMAKE_INSTALL_DOCDIR} +# COMPONENT doc) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1