From: Zbigniew Jędrzejewski-Szmek Date: Wed, 27 Jan 2021 13:04:14 +0000 (+0100) Subject: tools: rename helper to match target name X-Git-Tag: v248-rc1~242^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3821a339e75a8589304c9ef1b6654ac52319102;p=thirdparty%2Fsystemd.git tools: rename helper to match target name The target is update-syscall-tables, so let's call the script update-syscall-tables.sh to reduce the cognitive overhead when trying to find the right file. --- diff --git a/meson.build b/meson.build index 179c3174c88..0af0cce8b85 100644 --- a/meson.build +++ b/meson.build @@ -1589,16 +1589,16 @@ conf.set10('ENABLE_EFI', have) ############################################################ -update_hwdb_sh = find_program('tools/update-hwdb.sh') -update_hwdb_autosuspend_sh = find_program('tools/update-hwdb-autosuspend.sh') +generate_gperfs = find_program('tools/generate-gperfs.py') make_autosuspend_rules_py = find_program('tools/make-autosuspend-rules.py') make_directive_index_py = find_program('tools/make-directive-index.py') make_man_index_py = find_program('tools/make-man-index.py') -syscall_table_update_sh = find_program('tools/syscall-table-update.sh') -xml_helper_py = find_program('tools/xml_helper.py') -update_dbus_docs_py = find_program('tools/update-dbus-docs.py') meson_apply_m4 = find_program('tools/meson-apply-m4.sh') -generate_gperfs = find_program('tools/generate-gperfs.py') +update_dbus_docs_py = find_program('tools/update-dbus-docs.py') +update_hwdb_sh = find_program('tools/update-hwdb.sh') +update_hwdb_autosuspend_sh = find_program('tools/update-hwdb-autosuspend.sh') +update_syscall_tables_sh = find_program('tools/update-syscall-tables.sh') +xml_helper_py = find_program('tools/xml_helper.py') ##################################################################### diff --git a/src/basic/meson.build b/src/basic/meson.build index d6ef5eb28b4..b3040f5cfe1 100644 --- a/src/basic/meson.build +++ b/src/basic/meson.build @@ -359,7 +359,7 @@ arch_list = [ run_target( 'update-syscall-tables', - command : [syscall_table_update_sh, meson.current_source_dir()] + arch_list) + command : [update_syscall_tables_sh, meson.current_source_dir()] + arch_list) syscall_list_txt = files('syscall-list.txt') diff --git a/tools/syscall-table-update.sh b/tools/update-syscall-tables.sh similarity index 100% rename from tools/syscall-table-update.sh rename to tools/update-syscall-tables.sh