summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-02-19 17:51:53 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-02-19 17:51:53 +0100
commitdf64a941183f6e2f1b4e55b40c2dddb3738cd90e (patch)
treeca81a2854d582816fe7675ea21a7acdb8d6c575d /CMakeLists.txt
parentea839618c4177250cd8e7a35cceb2353701ffaf6 (diff)
downloadmariadb-git-df64a941183f6e2f1b4e55b40c2dddb3738cd90e.tar.gz
When installing, exclude some documents in Docs
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 369e03bf988..567f6dce2e8 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -270,9 +270,16 @@ ENDIF()
INCLUDE(CPack)
INSTALL(FILES COPYING EXCEPTIONS-CLIENT README DESTINATION ${INSTALL_DOCREADMEDIR})
IF(UNIX)
- INSTALL(FILES Docs/INSTALL-BINARY DESTINATION ${INSTALL_DOCREADMEDIR})
+ INSTALL(FILES Docs/INSTALL-BINARY DESTINATION
+ ${INSTALL_DOCREADMEDIR})
ENDIF()
# MYSQL_DOCS_LOCATON is used in "make dist", points to the documentation directory
SET(MYSQL_DOCS_LOCATION "" CACHE PATH "Location from where documentation is copied")
MARK_AS_ADVANCED(MYSQL_DOCS_LOCATION)
-INSTALL(DIRECTORY Docs/ DESTINATION ${INSTALL_DOCDIR})
+INSTALL(DIRECTORY Docs/ DESTINATION ${INSTALL_DOCDIR}
+ PATTERN "Makefile.*" EXCLUDE
+ PATTERN "myisam.txt" EXCLUDE
+ PATTERN "glibc*" EXCLUDE
+ PATTERN "sp-imp-spec.txt" EXCLUDE
+ PATTERN "linuxthreads.txt" EXCLUDE
+) \ No newline at end of file