diff options
author | MySQL Build Team <build@mysql.com> | 2011-03-03 22:46:12 +0100 |
---|---|---|
committer | MySQL Build Team <build@mysql.com> | 2011-03-03 22:46:12 +0100 |
commit | e13c75a6d7998150cb211bafd54b0cda7eea27b4 (patch) | |
tree | 2b1f61929a6dd6abecb0a0f42eb8d59847c761fd /cmake/make_dist.cmake.in | |
parent | a7af4f896b3e435aa63551cec60ff48cd11c5d6f (diff) | |
download | mariadb-git-e13c75a6d7998150cb211bafd54b0cda7eea27b4.tar.gz |
Implementing Bug #57175 MySQL source tarballs should include generated spec file
Diffstat (limited to 'cmake/make_dist.cmake.in')
-rw-r--r-- | cmake/make_dist.cmake.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/make_dist.cmake.in b/cmake/make_dist.cmake.in index 7c4778112df..ef1677db1c0 100644 --- a/cmake/make_dist.cmake.in +++ b/cmake/make_dist.cmake.in @@ -29,6 +29,8 @@ SET(CMAKE_GENERATOR "@CMAKE_GENERATOR@") SET(CMAKE_MAKE_PROGRAM "@CMAKE_MAKE_PROGRAM@") SET(CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@") +SET(VERSION "@VERSION@") + SET(MYSQL_DOCS_LOCATION "@MYSQL_DOCS_LOCATION@") @@ -100,6 +102,10 @@ CONFIGURE_FILE(${CMAKE_BINARY_DIR}/sql/sql_yacc.h CONFIGURE_FILE(${CMAKE_BINARY_DIR}/sql/sql_yacc.cc ${PACKAGE_DIR}/sql/sql_yacc.cc COPYONLY) +# Copy spec files +CONFIGURE_FILE(${CMAKE_BINARY_DIR}/support-files/mysql.${VERSION}.spec + ${PACKAGE_DIR}/support-files/mysql.${VERSION}.spec COPYONLY) + # Add documentation, if user has specified where to find them IF(MYSQL_DOCS_LOCATION) MESSAGE("Copying documentation files from " ${MYSQL_DOCS_LOCATION}) |