From: Zbigniew Jędrzejewski-Szmek Date: Wed, 27 Jan 2021 08:23:02 +0000 (+0100) Subject: meson: rename target to update-hwdb-autosuspend X-Git-Tag: v248-rc1~245^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F18388%2Fhead;p=thirdparty%2Fsystemd.git 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 --- diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build index edaa81b7bbb..54c6f4d5e2d 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 a1535526976..60d8dc7abc4 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