summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-01-27 09:17:26 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-01-27 09:22:15 +0100
commit4095cff07e1db4c220ff150e77287b8f4f6bc3fe (patch)
tree1ed488d9c970c8ae1e5d6d73efd2a482af9c7cdc
parente3c368f63c8ec71ba06e699ff46eb3e0d8e3bb0a (diff)
downloadsystemd-4095cff07e1db4c220ff150e77287b8f4f6bc3fe.tar.gz
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.
-rw-r--r--docs/CODE_QUALITY.md2
-rw-r--r--hwdb.d/meson.build4
-rw-r--r--meson.build2
-rwxr-xr-xtools/update-hwdb.sh (renamed from tools/hwdb-update.sh)0
4 files changed, 4 insertions, 4 deletions
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
index 42251612dd..42251612dd 100755
--- a/tools/hwdb-update.sh
+++ b/tools/update-hwdb.sh