summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2025-08-18 12:11:23 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2025-08-18 12:13:33 +0200
commit5d0262910ddf9c8d5baf74fe54e3389478baad81 (patch)
treee55c20c576db8c0c90ca64841ec4b3f37d7c9791
parent83c7ddc8ee6f66a6fa0cda7ed6197c67765b3223 (diff)
build: do not build documentation automatically
Make it optional. After this update it is still possible to build the documentation via: ./configure --enable-man-pages For consistency with --enable-html-doc. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 7359fba..c5f0760 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,8 +22,8 @@ AS_IF([test "$enable_html_doc" = yes],
[AC_SUBST(GEN_HTML, NO)])
AC_ARG_ENABLE([man-pages],
- AS_HELP_STRING([--disable-man-pages], [Disable man page documentation]),
- [], [enable_man_pages=yes])
+ AS_HELP_STRING([--enable-man-pages], [Disable man page documentation]),
+ [enable_man_pages=yes], [enable_man_pages=no])
AM_CONDITIONAL([BUILD_MAN], [test "$enable_man_pages" = yes])
AS_IF([test "$enable_man_pages" = yes],
[AC_SUBST(GEN_MAN, YES)],