summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJoerg Bruehe <joerg.bruehe@oracle.com>2011-10-04 12:28:30 +0200
committerJoerg Bruehe <joerg.bruehe@oracle.com>2011-10-04 12:28:30 +0200
commitd3924fbe843982870dc4a3530b065adaf54a834e (patch)
tree6a763573f459334f01b39592e579ec76e263a26a /man
parente8cc3136b38669ac29db740c289fe5359f4a1a62 (diff)
downloadmariadb-git-d3924fbe843982870dc4a3530b065adaf54a834e.tar.gz
Exclude NDB man pages from a source tarball,
these sources don't have any current NDB.
Diffstat (limited to 'man')
-rw-r--r--man/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
index 135d66634e4..4987a5bee61 100644
--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,15 +16,23 @@
# Copy man pages
FILE(GLOB MAN1_FILES *.1)
FILE(GLOB MAN1_EXCLUDE make_win_bin_dist.1)
+FILE(GLOB MAN1_NDB ndb*.1)
FILE(GLOB MAN8_FILES *.8)
+FILE(GLOB MAN8_NDB ndb*.8)
IF(MAN1_FILES)
IF(MAN1_EXCLUDE)
LIST(REMOVE_ITEM MAN1_FILES ${MAN1_EXCLUDE})
ENDIF()
+ IF(MAN1_NDB)
+ LIST(REMOVE_ITEM MAN1_FILES ${MAN1_NDB})
+ ENDIF()
INSTALL(FILES ${MAN1_FILES} DESTINATION ${INSTALL_MANDIR}/man1
COMPONENT ManPages)
ENDIF()
IF(MAN8_FILES)
+ IF(MAN8_NDB)
+ LIST(REMOVE_ITEM MAN8_FILES ${MAN8_NDB})
+ ENDIF()
INSTALL(FILES ${MAN8_FILES} DESTINATION ${INSTALL_MANDIR}/man8
COMPONENT ManPages)
ENDIF()