meson.build: move registry-list tool down to the tools section
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 9 Jul 2020 03:52:58 +0000 (13:52 +1000)
committerRan Benita <ran@unusedvar.com>
Sat, 25 Jul 2020 08:05:14 +0000 (11:05 +0300)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build

index ec1dbe2..4ac397b 100644 (file)
@@ -344,12 +344,6 @@ if get_option('enable-xkbregistry')
                                 include_directories: include_directories('xkbcommon'),
                                 link_with: libxkbregistry
                                 )
-    if have_getopt_long
-        executable('xkbcommon-registry-list',
-                   'tools/registry-list.c',
-                   dependencies: dep_libxkbregistry,
-                   install: false)
-    endif
 endif
 
 # Tests
@@ -589,6 +583,13 @@ if build_tools
                    xdg_shell_sources,
                    dependencies: [tools_dep, wayland_client_dep])
     endif
+
+    if have_getopt_long and get_option('enable-xkbregistry')
+        executable('xkbcommon-registry-list',
+                   'tools/registry-list.c',
+                   dependencies: dep_libxkbregistry,
+                   install: false)
+    endif
 endif
 
 # xkeyboard-config "verifier"