diff --git a/CMakeLists.txt b/CMakeLists.txt index 369e03bf98804fe1495e225f1f169652b4a5d473..567f6dce2e88f1d279af84d48584f3db72f05596 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