mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 10:45:30 +02:00
Fix a loop and install more script files. Renames the perlscripts component to scripts, since it now also has sql scripts.
This commit is contained in:
parent
c77f7c3010
commit
1c0f9f9d7e
2 changed files with 11 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue