[PATCH xserver 09/12] meson: Install the dmx utilities

Adam Jackson ajax at redhat.com
Mon Mar 26 22:42:59 UTC 2018


And add the forgotten dmxrminput to the list.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 hw/dmx/examples/meson.build | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/hw/dmx/examples/meson.build b/hw/dmx/examples/meson.build
index 6e160d0e09..ad0d798c37 100644
--- a/hw/dmx/examples/meson.build
+++ b/hw/dmx/examples/meson.build
@@ -13,6 +13,10 @@ dmx_examples = [
     ['dmxaddscreen', [dmx_dep]],
     ['dmxrmscreen', [dmx_dep]],
     ['dmxaddinput', [dmx_dep]],
+    ['dmxrminput', [dmx_dep]],
+]
+
+noinst_dmx_examples = [
     ['xinput', [dmx_dep, dependency('xi')]],
     ['xtest', [dependency('xtst')]],
     ['evi', []],
@@ -25,7 +29,23 @@ foreach ex: dmx_examples
     bin = ex[0]
     extra_dep = ex[1]
 
-    executable(bin, bin + '.c', dependencies: [dmxexamples_dep, extra_dep])
+    executable(
+        bin,
+        bin + '.c',
+        dependencies: [dmxexamples_dep, extra_dep],
+        install: true
+    )
+endforeach
+
+foreach ex: noinst_dmx_examples
+    bin = ex[0]
+    extra_dep = ex[1]
+
+    executable(
+        bin,
+        bin + '.c',
+        dependencies: [dmxexamples_dep, extra_dep],
+    )
 endforeach
 
 if cc.has_header('linux/input.h')
-- 
2.16.2



More information about the xorg-devel mailing list