--- doc/CMakeLists.txt.orig	2020-12-26 12:45:43 UTC
+++ doc/CMakeLists.txt
@@ -1,6 +1,7 @@
+option(ENABLE_MANPAGES "Enable manpages" FALSE)
 
 ### make and install the man pages
-if    (UNIX)
+if    (UNIX AND ENABLE_MANPAGES)
 	find_package(SevenZip)
 	set(AsciiDoc_FIND_QUIETLY TRUE)
 	find_package(AsciiDoc)
