summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-01-27 14:04:14 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-01-28 09:55:35 +0100
commitd3821a339e75a8589304c9ef1b6654ac52319102 (patch)
tree8b786e654eae7fc350f8fedf250155e60432d81e
parent1f6f8cc8039a204609ddab79791ef22ee6340da0 (diff)
downloadsystemd-d3821a339e75a8589304c9ef1b6654ac52319102.tar.gz
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.
-rw-r--r--meson.build12
-rw-r--r--src/basic/meson.build2
-rwxr-xr-xtools/update-syscall-tables.sh (renamed from tools/syscall-table-update.sh)0
3 files changed, 7 insertions, 7 deletions
diff --git a/meson.build b/meson.build
index 179c3174c8..0af0cce8b8 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 d6ef5eb28b..b3040f5cfe 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
index 4f56aecedd..4f56aecedd 100755
--- a/tools/syscall-table-update.sh
+++ b/tools/update-syscall-tables.sh