From: Zbigniew Jędrzejewski-Szmek Date: Wed, 27 Jan 2021 08:17:26 +0000 (+0100) Subject: meson: rename target to update-hwdb X-Git-Tag: v248-rc1~245^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4095cff07e1db4c220ff150e77287b8f4f6bc3fe;p=thirdparty%2Fsystemd.git meson: rename target to update-hwdb The goal is to have all "update-*" targets named uniformly so that tab-completion works. The script is renamed to match. --- diff --git a/docs/CODE_QUALITY.md b/docs/CODE_QUALITY.md index 53fabb3581d..0933a0e4953 100644 --- a/docs/CODE_QUALITY.md +++ b/docs/CODE_QUALITY.md @@ -41,7 +41,7 @@ available functionality: symbols of `libsystemd.so` and `libudev.so` with the list of man pages. Symbols lacking documentation are highlighted. -7. Use `meson compile -C build hwdb-update` to automatically download and import the +7. Use `meson compile -C build update-hwdb` to automatically download and import the PCI, USB and OUI databases into hwdb. 8. Use `meson compile -C build update-man-rules` to update the meson rules for diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build index 6a3456263a8..edaa81b7bbb 100644 --- a/hwdb.d/meson.build +++ b/hwdb.d/meson.build @@ -66,8 +66,8 @@ endif ############################################################ run_target( - 'hwdb-update', - command : [hwdb_update_sh, meson.current_source_dir()]) + 'update-hwdb', + command : [update_hwdb_sh, meson.current_source_dir()]) run_target( 'autosuspend-update', diff --git a/meson.build b/meson.build index 569cac92816..a1535526976 100644 --- a/meson.build +++ b/meson.build @@ -1590,7 +1590,7 @@ conf.set10('ENABLE_EFI', have) ############################################################ autosuspend_update_sh = find_program('tools/autosuspend-update.sh') -hwdb_update_sh = find_program('tools/hwdb-update.sh') +update_hwdb_sh = find_program('tools/update-hwdb.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/hwdb-update.sh b/tools/update-hwdb.sh similarity index 100% rename from tools/hwdb-update.sh rename to tools/update-hwdb.sh