From 816f31d0184c18f71c177a5c0bb15eaeddf3af2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 27 Jan 2021 09:23:02 +0100 Subject: [PATCH] meson: rename target to update-hwdb-autosuspend The script is renamed to match. Now all targets are named uniformly in a tab-completion-friendly fashion, with the exception of systemd-update-po which is generated by the i18n module automatically: $ ninja -C build -t targets | grep update systemd-update-po: phony update-syscall-tables: phony update-syscall-header: phony update-hwdb: phony update-hwdb-autosuspend: phony update-dbus-docs: CUSTOM_COMMAND update-man-rules: CUSTOM_COMMAND --- hwdb.d/meson.build | 4 ++-- meson.build | 2 +- tools/{autosuspend-update.sh => update-hwdb-autosuspend.sh} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename tools/{autosuspend-update.sh => update-hwdb-autosuspend.sh} (100%) diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build index edaa81b7bb..54c6f4d5e2 100644 --- a/hwdb.d/meson.build +++ b/hwdb.d/meson.build @@ -70,5 +70,5 @@ run_target( command : [update_hwdb_sh, meson.current_source_dir()]) run_target( - 'autosuspend-update', - command : [autosuspend_update_sh, project_source_root]) + 'update-hwdb-autosuspend', + command : [update_hwdb_autosuspend_sh, project_source_root]) diff --git a/meson.build b/meson.build index a153552697..60d8dc7abc 100644 --- a/meson.build +++ b/meson.build @@ -1589,8 +1589,8 @@ conf.set10('ENABLE_EFI', have) ############################################################ -autosuspend_update_sh = find_program('tools/autosuspend-update.sh') update_hwdb_sh = find_program('tools/update-hwdb.sh') +update_hwdb_autosuspend_sh = find_program('tools/update-hwdb-autosuspend.sh') 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') diff --git a/tools/autosuspend-update.sh b/tools/update-hwdb-autosuspend.sh similarity index 100% rename from tools/autosuspend-update.sh rename to tools/update-hwdb-autosuspend.sh