summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-28 12:48:44 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-28 12:48:44 +0200
commit4a92fd6d6380e016f83db9f0c64fd70a5a17dd0d (patch)
treedd2870ebee32f7b4430e016d70e86ca7fbdfc8b2
parent66e64814089f5a0862e61c58bc6cf6dbfad1873a (diff)
downloadmariadb-git-4a92fd6d6380e016f83db9f0c64fd70a5a17dd0d.tar.gz
fix man bootstrap
-rw-r--r--man/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
index beae58bc2c2..1113b73fd8d 100644
--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -18,7 +18,9 @@ FILE(GLOB MAN1_FILES *.1)
FILE(GLOB MAN1_EXCLUDE make_win_bin_dist.1)
FILE(GLOB MAN8_FILES *.8)
IF(MAN1_FILES)
- LIST(REMOVE_ITEM MAN1_FILES ${MAN1_EXCLUDE})
+ IF(MAN1_EXCLUDE)
+ LIST(REMOVE_ITEM MAN1_FILES ${MAN1_EXCLUDE})
+ ENDIF()
INSTALL(FILES ${MAN1_FILES} DESTINATION ${INSTALL_MANDIR}/man1)
ENDIF()
IF(MAN8_FILES)