]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: rename target to update-hwdb-autosuspend 18388/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Jan 2021 08:23:02 +0000 (09:23 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Jan 2021 08:24:30 +0000 (09:24 +0100)
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
meson.build
tools/update-hwdb-autosuspend.sh [moved from tools/autosuspend-update.sh with 100% similarity]

index edaa81b7bbb5c4c1512266debd7b7c57f51fe104..54c6f4d5e2def43cae06b6fda8a4cbdafb84a75c 100644 (file)
@@ -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])
index a1535526976ff6f9d821307077b1fa310b607de5..60d8dc7abc4b487935cdb1495382b43ee60345a9 100644 (file)
@@ -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')