Mercurial > irccd
diff cmake/IrccdOptions.cmake @ 845:00a4720c4874
doc: rewrite documentation in manual pages, closes #1674
Get rid of markdown documentation and the custom generator tools, instead use
raw manual pages.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 08 Jul 2019 16:15:57 +0200 |
parents | 2ecff01d4277 |
children | 6af323b76970 |
line wrap: on
line diff
--- a/cmake/IrccdOptions.cmake Tue Jul 09 15:04:04 2019 +0200 +++ b/cmake/IrccdOptions.cmake Mon Jul 08 16:15:57 2019 +0200 @@ -19,9 +19,7 @@ # # Options that controls the build: # -# IRCCD_WITH_DOCS Enable building of all documentation (default: on) # IRCCD_WITH_DOXYGEN Enable internal irccd documentation (default: on) -# IRCCD_WITH_HTML Enable HTML documentation # IRCCD_WITH_JS Enable JavaScript (default: on) # IRCCD_WITH_LIBEDIT Enable libedit support (default: on) # IRCCD_WITH_MAN Install manpages (default: on, off for Windows) @@ -48,9 +46,7 @@ set(DEFAULT_PKGCONFIG "No") endif () -option(IRCCD_WITH_DOCS "Enable building of all documentation" On) option(IRCCD_WITH_DOXYGEN "Enable doxygen" Off) -option(IRCCD_WITH_HTML "Enable building of HTML documentation" On) option(IRCCD_WITH_JS "Enable embedded Duktape" On) option(IRCCD_WITH_LIBEDIT "Enable libedit support" On) option(IRCCD_WITH_MAN "Install man pages" ${DEFAULT_MAN}) @@ -84,7 +80,6 @@ find_package(Doxygen) find_package(OpenSSL) -find_package(marker) find_package(Editline) if (IRCCD_WITH_LIBEDIT) @@ -120,6 +115,13 @@ set(IRCCD_WITH_DOXYGEN_MSG "No (disabled by user)") endif () +if (IRCCD_WITH_MAN) + set(IRCCD_HAVE_MAN On) + set(IRCCD_WITH_MAN_MSG "Yes") +else () + set(IRCCD_WITH_MAN_MSG "No (disabled by user)") +endif () + # # Determine if allowed to package. # -------------------------------------------------------------------