diff options
author | Daniel Black <daniel@mariadb.org> | 2021-03-18 08:48:19 +1100 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-03-28 12:51:48 +1100 |
commit | 4cea38431e25befc31cd401e8b9f71e60c997256 (patch) | |
tree | 44ee9c610caeeac76c23c5e6d053889cfe2f5394 /man | |
parent | 67eeb7770bb758832cf7dc5371c11e0f2ab76613 (diff) | |
download | mariadb-git-4cea38431e25befc31cd401e8b9f71e60c997256.tar.gz |
Remove server man pages from WITHOUT_SERVER
Diffstat (limited to 'man')
-rw-r--r-- | man/CMakeLists.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt index 848c8672f90..39e2a894bce 100644 --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -62,12 +62,6 @@ macro(MARIADB_SYMLINK_MANPAGE) list(FIND MAN1_DEVEL ${_manname}.1 _iman1devel) list(FIND MAN1_TEST ${_manname}.1 _iman1test) - if (${_iman1server} GREATER -1) - MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesServer) - endif() - if (${_iman8server} GREATER -1) - MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 8 "man8" ManPagesServer) - endif() if (${_iman1client} GREATER -1) MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesClient) endif() @@ -77,6 +71,15 @@ macro(MARIADB_SYMLINK_MANPAGE) if (${_iman1test} GREATER -1) MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesTest) endif() + if (WITHOUT_SERVER) + continue() + endif() + if (${_iman1server} GREATER -1) + MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesServer) + endif() + if (${_iman8server} GREATER -1) + MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 8 "man8" ManPagesServer) + endif() endforeach(_index) endmacro(MARIADB_SYMLINK_MANPAGE) |