Module: kamailio
Branch: master
Commit: 67e1d577849ce3487f2acce161597e8cf1e0785e
URL: 
https://github.com/kamailio/kamailio/commit/67e1d577849ce3487f2acce161597e8cf1e0785e

Author: Xenofon Karamanos <[email protected]>
Committer: Xenofon Karamanos <[email protected]>
Date: 2026-01-30T12:10:30+02:00

cmake: Remove unused dependency for docs

- docbook was never used

---

Modified: src/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/67e1d577849ce3487f2acce161597e8cf1e0785e.diff
Patch: 
https://github.com/kamailio/kamailio/commit/67e1d577849ce3487f2acce161597e8cf1e0785e.patch

---

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a9ca7784d6c..d0fa2fd27f5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -80,26 +80,17 @@ option(BUILD_DOC "Build documentation" ON)
 # Readme file and man page
 find_program(XSLTPROC_EXECUTABLE xsltproc QUIET)
 find_program(LYNX_EXECUTABLE lynx QUIET)
-find_program(DOCBOOK2X_EXECUTABLE docbook2x-man QUIET)
 
 if(BUILD_DOC AND (NOT XSLTPROC_EXECUTABLE OR NOT LYNX_EXECUTABLE))
   message(
-    WARNING "BUILD_DOC set to ON but xsltproc or lynx not found and are 
required for doc generation.
-      Disabling documentation and man page generation.
+    WARNING
+      "BUILD_DOC set to ON but xsltproc or lynx not found and are required for 
doc generation.
+      Disabling documentation and man page generation in the default target. 
Install missing tools and re-run CMake configuration.
       You can safely ignore this warning."
   )
   set(BUILD_DOC OFF)
 endif()
 
-if(BUILD_DOC AND (NOT DOCBOOK2X_EXECUTABLE))
-  message(
-    WARNING "BUILD_DOC set to ON but docbook2x-man not found and is required 
for man generation.
-                 Disabling documentation and man page generation.
-                 You can safely ignore this warning"
-  )
-  set(BUILD_DOC OFF)
-endif()
-
 # This is used to add the documentation target to the default build target
 if(BUILD_DOC)
   set(docs_in_all_target ALL)

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to