]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - hwdb/meson.build
meson: add hwdb/update target
[thirdparty/systemd.git] / hwdb / meson.build
index cbc9016652210b039c9a1964aac3933700749b28..4498d5e08b9495af5b1b8931103baa2b3f063033 100644 (file)
@@ -26,3 +26,10 @@ if conf.get('ENABLE_HWDB', 0) == 1
   meson.add_install_script('sh', '-c',
                            mkdir_p.format(join_paths(sysconfdir, 'udev/hwdb.d')))
 endif
+
+############################################################
+
+custom_target(
+  'update',
+  output : 'update',
+  command : [hwdb_update_sh, meson.current_source_dir()])