Don't generate html docs as they only ship the manpage
authorSamuel Henrique <samueloph@debian.org>
Fri, 24 Sep 2021 19:11:29 +0000 (20:11 +0100)
committerSamuel Henrique <samueloph@debian.org>
Fri, 24 Sep 2021 19:11:29 +0000 (20:11 +0100)
Forwarded: not-needed

Gbp-Pq: Name dont_build_html_doc.patch

doc/CMakeLists.txt

index fb8ad29bce2db1479be5100a844c0c95768c79e6..cc7f1d9a0f86622195616847e5a87824459fa687 100644 (file)
@@ -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