Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Copy README-MySQL over to README whenever necessary.

  • Loading branch information...
commit b7ba66d0e4469906e5b0cfcbcd20028e68229cf3 1 parent 63055a9
authored April 24, 2012
2  CMakeLists.txt
@@ -381,7 +381,7 @@ IF(NOT INSTALL_LAYOUT MATCHES "RPM")
381 381
   COMPONENT Readme
382 382
   OPTIONAL
383 383
   )
384  
-  INSTALL(FILES README DESTINATION ${INSTALL_DOCREADMEDIR} COMPONENT Readme)
  384
+  INSTALL(FILES README-MySQL DESTINATION ${INSTALL_DOCREADMEDIR} COMPONENT Readme RENAME README)
385 385
   INSTALL(FILES ${CMAKE_BINARY_DIR}/Docs/INFO_SRC ${CMAKE_BINARY_DIR}/Docs/INFO_BIN DESTINATION ${INSTALL_DOCDIR})
386 386
   IF(UNIX)
387 387
     INSTALL(FILES Docs/INSTALL-BINARY DESTINATION ${INSTALL_DOCREADMEDIR} COMPONENT Readme)
4  cmake/make_dist.cmake.in
@@ -127,6 +127,10 @@ CONFIGURE_FILE(${CMAKE_BINARY_DIR}/sql/sql_yacc.cc
127 127
 CONFIGURE_FILE(${CMAKE_BINARY_DIR}/support-files/mysql-${VERSION}.spec
128 128
    ${PACKAGE_DIR}/support-files/mysql-${VERSION}.spec COPYONLY)
129 129
 
  130
+# Copy README file
  131
+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/README-MySQL
  132
+   ${PACKAGE_DIR}/README COPYONLY)
  133
+
130 134
 # Add documentation, if user has specified where to find them
131 135
 IF(MYSQL_DOCS_LOCATION)
132 136
   MESSAGE("Copying documentation files from " ${MYSQL_DOCS_LOCATION})

0 notes on commit b7ba66d

Please sign in to comment.
Something went wrong with that request. Please try again.