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

index 53fabb3581db0afaf429fb5a49756616c1020dd7..0933a0e4953eda0e661709cd40aa272a210fda98 100644 (file)
@@ -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
index 6a3456263a8b532155a01126c739b361718b4b73..edaa81b7bbb5c4c1512266debd7b7c57f51fe104 100644 (file)
@@ -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',
index 569cac9281638379daef9ea57d4ed7625932607d..a1535526976ff6f9d821307077b1fa310b607de5 100644 (file)
@@ -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')
similarity index 100%
rename from tools/hwdb-update.sh
rename to tools/update-hwdb.sh