From 4095cff07e1db4c220ff150e77287b8f4f6bc3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 27 Jan 2021 09:17:26 +0100 Subject: [PATCH] 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. --- docs/CODE_QUALITY.md | 2 +- hwdb.d/meson.build | 4 ++-- meson.build | 2 +- tools/{hwdb-update.sh => update-hwdb.sh} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename tools/{hwdb-update.sh => update-hwdb.sh} (100%) diff --git a/docs/CODE_QUALITY.md b/docs/CODE_QUALITY.md index 53fabb3581..0933a0e495 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 6a3456263a..edaa81b7bb 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 569cac9281..a153552697 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