From d3821a339e75a8589304c9ef1b6654ac52319102 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 27 Jan 2021 14:04:14 +0100 Subject: [PATCH] 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. --- meson.build | 12 ++++++------ src/basic/meson.build | 2 +- ...call-table-update.sh => update-syscall-tables.sh} | 0 3 files changed, 7 insertions(+), 7 deletions(-) rename tools/{syscall-table-update.sh => update-syscall-tables.sh} (100%) 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 -- 2.47.3