From: Samuel Henrique Date: Wed, 9 Dec 2020 18:23:48 +0000 (+0000) Subject: Don't generate html docs as they only ship the manpage X-Git-Tag: archive/raspbian/3.5.3-1+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=647cc04a9b0c835a18a1047cd15ccc6f5deb1604;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