diff options
author | Bo Thorsen <bo@askmonty.org> | 2010-06-28 15:31:47 +0200 |
---|---|---|
committer | Bo Thorsen <bo@askmonty.org> | 2010-06-28 15:31:47 +0200 |
commit | 896cac73ff31efcadb3e5f689f3ef7e74ae257a3 (patch) | |
tree | d7d0a9150eb9db686554119f2943e22c5a49dfd1 | |
parent | 8580ed6d6c296ba68419e87b55184447fb888009 (diff) | |
download | mariadb-git-896cac73ff31efcadb3e5f689f3ef7e74ae257a3.tar.gz |
Fix a loop and install more script files. Renames the perlscripts component to scripts, since it now also has sql scripts.
-rwxr-xr-x | CMakeLists.txt | 12 | ||||
-rwxr-xr-x | scripts/CMakeLists.txt | 6 |
2 files changed, 11 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c1c3fe2722f..425039ea062 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -355,11 +355,11 @@ SET(CPACK_COMPONENT_HEADERS_DESCRIPTION "Header files for development on MariaDB SET(CPACK_COMPONENT_HEADERS_DEPENDS runtime) SET(CPACK_COMPONENT_HEADERS_GROUP "Development") SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Development) -SET(CPACK_COMPONENT_PERLSCRIPTS_DISPLAY_NAME "Server perl scripts") -SET(CPACK_COMPONENT_PERLSCRIPTS_DESCRIPTION "Scripts to controll and modify the server. You need a perl installation for these to work.") -SET(CPACK_COMPONENT_PERLSCRIPTS_DEPENDS runtime) -SET(CPACK_COMPONENT_PERLSCRIPTS_GROUP "Server") -SET(CPACK_COMPONENT_PERLSCRIPTS_INSTALL_TYPES Normal Development) +SET(CPACK_COMPONENT_SCRIPTS_DISPLAY_NAME "Server scripts") +SET(CPACK_COMPONENT_SCRIPTS_DESCRIPTION "SQL and Perl scripts to control and modify the server. You need a perl installation for some of these to work.") +SET(CPACK_COMPONENT_SCRIPTS_DEPENDS runtime) +SET(CPACK_COMPONENT_SCRIPTS_GROUP "Server") +SET(CPACK_COMPONENT_SCRIPTS_INSTALL_TYPES Normal Development) # TODO: Add debug files # TODO: Add embedded server files # TODO: Add test files @@ -402,7 +402,7 @@ FOREACH(ERRMSGFILE ${share_dirs}) FILE(RELATIVE_PATH DIRNAME ${PROJECT_SOURCE_DIR}/sql/share ${ERRMSGFILE}) STRING(REPLACE "/errmsg.sys" "" DIRNAME ${DIRNAME}) INSTALL(FILES ${ERRMSGFILE} DESTINATION share/${DIRNAME} COMPONENT runtime) -ENDFOREACH(SUBDIR ${share_dirs}) +ENDFOREACH(ERRMSGFILE ${share_dirs}) INCLUDE(InstallRequiredSystemLibraries) diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index aa7fa03cf03..eee70fdf776 100755 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -79,4 +79,8 @@ CONFIGURE_FILE(mysqlhotcopy.sh INSTALL(FILES mysqldumpslow.pl mysqlhotcopy.pl mysql_config.pl mysql_convert_table_format.pl mysql_install_db.pl mysql_secure_installation.pl mysqld_multi.pl - DESTINATION scripts COMPONENT perlscripts) + DESTINATION scripts COMPONENT scripts) + +INSTALL(FILES fill_help_tables.sql mysql_fix_privilege_tables.sql mysql_system_tables.sql
+ mysql_system_tables_data.sql mysql_system_tables_fix.sql mysql_test_data_timezone.sql
+ DESTINATION share COMPONENT scripts)
|