From: Samuel Henrique Date: Sun, 13 Dec 2020 08:52:59 +0000 (+0000) Subject: Don't generate html docs as they only ship the manpage X-Git-Tag: archive/raspbian/3.5.3-1+rpi1~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ebd3594b357d9f0af7020d8a883138bb845b0116;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