From 28804911dbef2b9d7da6fd7c93ab6c60214c9bad Mon Sep 17 00:00:00 2001 From: Samuel Henrique Date: Mon, 1 Mar 2021 21:22:57 +0000 Subject: [PATCH] Don't generate html docs as they only ship the manpage Forwarded: not-needed Gbp-Pq: Name dont_build_html_doc.patch --- doc/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2