Skip to contentSkip to conversation

build: do not build documentation automatically

PATCH In review Pablo Neira Ayuso 2 participants 2 messages Oct 13, 2024 – Oct 14, 2024 netfilter

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH v2 1/1 build: do not build documentation automatically

Make it optional. After this update it is still possible to build the documentation via:

	./configure --with-doxygen=yes

if ./configure finds doxygen. Update README to include this information.

---
 README       | 11 +++++++++++
 configure.ac |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
README +11 -0
index 317a2c6ad1d6..4a2ccab00647 100644
@@ -18,6 +18,17 @@ on top of this library.
 is reduced, i.e. the library provides many helpers, but the programmer is not
 forced to use them.
 
+= Documentation =
+
+If doxygen is installed on your system, you can enable it via:
+
+       ./configure --with-doxygen=yes
+
+then type `make`.
+
+To access the doxygen documentation, open the doxygen/html/index.html file with
+a web browser.
+
 = Example files =
 
 You can find several example files under examples/ that you can compile by
configure.ac +1 -1
index 4698aec055b7..9305766f6390 100644
@@ -45,7 +45,7 @@ AC_CONFIG_FILES([Makefile
 
 AC_ARG_WITH([doxygen], [AS_HELP_STRING([--with-doxygen],
 	    [create doxygen documentation])],
-	    [with_doxygen="$withval"], [with_doxygen=yes])
+	    [with_doxygen="$withval"], [with_doxygen=no])
 
 AS_IF([test "x$with_doxygen" != xno], [
 	AC_CHECK_PROGS([DOXYGEN], [doxygen])
Signature · 1 line
2.30.2