summaryrefslogtreecommitdiff
path: root/hwdb
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-15 00:40:59 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:29 -0400
commitabba22c51c44871395316a73cf0e69106eeb94a1 (patch)
treefbc2d1d2e68cca127a64d0d64ebb473019caeccd /hwdb
parent177929c2363d86ee17814f00d27e0dca4e327b40 (diff)
meson: add hwdb/update target
Diffstat (limited to 'hwdb')
-rw-r--r--hwdb/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/hwdb/meson.build b/hwdb/meson.build
index cbc9016652..4498d5e08b 100644
--- a/hwdb/meson.build
+++ b/hwdb/meson.build
@@ -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()])