Generate man pages through Sphinx
[alexxy/gromacs.git] / CMakeLists.txt
index 581064bb66f4b2143a942717b5f03bf5130d7f42..94b1fc760f962ad503979dca5c14bea51b1c1eab 100644 (file)
@@ -694,12 +694,12 @@ set(build_help_default AUTO)
 if (SOURCE_IS_SOURCE_DISTRIBUTION)
     set(build_help_default OFF)
 endif()
-gmx_option_trivalue(GMX_BUILD_HELP "Build man pages, HTML help, and completions automatically (requires that compiled binaries can be executed on the build host)" ${build_help_default})
+gmx_option_trivalue(GMX_BUILD_HELP "Build completions automatically (requires that compiled binaries can be executed on the build host) and install man pages if built (requires building the 'man' target manually)" ${build_help_default})
 mark_as_advanced(GMX_BUILD_HELP)
 if (GMX_BUILD_HELP AND SOURCE_IS_SOURCE_DISTRIBUTION AND BUILD_IS_INSOURCE)
     message(FATAL_ERROR
-        "Rebuilding HTML and man pages or shell completions is not supported "
-        "for in-source builds from a source distribution. "
+        "Rebuilding shell completions or man pages is not supported for "
+        "in-source builds from a source distribution. "
         "Set GMX_BUILD_HELP=OFF or do an out-of-source build to proceed.")
 endif()