Commit 1c0f9f9d authored by Bo Thorsen's avatar Bo Thorsen

Fix a loop and install more script files. Renames the perlscripts component to...

Fix a loop and install more script files. Renames the perlscripts component to scripts, since it now also has sql scripts.
parent c77f7c30
......@@ -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)
......
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment