Skip to content

Commit 4cea384

Browse files
committed
Remove server man pages from WITHOUT_SERVER
1 parent 67eeb77 commit 4cea384

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

man/CMakeLists.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ macro(MARIADB_SYMLINK_MANPAGE)
6262
list(FIND MAN1_DEVEL ${_manname}.1 _iman1devel)
6363
list(FIND MAN1_TEST ${_manname}.1 _iman1test)
6464

65-
if (${_iman1server} GREATER -1)
66-
MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesServer)
67-
endif()
68-
if (${_iman8server} GREATER -1)
69-
MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 8 "man8" ManPagesServer)
70-
endif()
7165
if (${_iman1client} GREATER -1)
7266
MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesClient)
7367
endif()
@@ -77,6 +71,15 @@ macro(MARIADB_SYMLINK_MANPAGE)
7771
if (${_iman1test} GREATER -1)
7872
MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesTest)
7973
endif()
74+
if (WITHOUT_SERVER)
75+
continue()
76+
endif()
77+
if (${_iman1server} GREATER -1)
78+
MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 1 "man1" ManPagesServer)
79+
endif()
80+
if (${_iman8server} GREATER -1)
81+
MARIADB_SYMLINK_MANPAGE_CREATE(${_manname} ${_index} 8 "man8" ManPagesServer)
82+
endif()
8083
endforeach(_index)
8184
endmacro(MARIADB_SYMLINK_MANPAGE)
8285

0 commit comments

Comments
 (0)