diff options
author | Bastien Nocera <hadess@hadess.net> | 2020-10-09 14:29:06 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2020-10-09 14:30:29 +0200 |
commit | 805cf6e1237c1f5073d52a434001ca5af382df47 (patch) | |
tree | 5ade71d839e145c8f67eb94d6f9197a659c20d0d | |
parent | 23e876a9d2d2a215bd6719ac7a3d6ae955e19fe0 (diff) | |
download | gnome-desktop-wip/hadess/install-debug-tools.tar.gz |
build: Install test apps when installing debug toolswip/hadess/install-debug-tools
When debug tools are enabled, install all the test and debug utilities
to $libexecdir/gnome-desktop-debug/. This makes exercising
gnome-desktop's utilities easier.
-rw-r--r-- | libgnome-desktop/meson.build | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libgnome-desktop/meson.build b/libgnome-desktop/meson.build index b10a18df..483f1ff6 100644 --- a/libgnome-desktop/meson.build +++ b/libgnome-desktop/meson.build @@ -129,16 +129,8 @@ desktop_pc = pkg.generate( subdirs: 'gnome-desktop-3.0' ) -if get_option('debug_tools') - executable('gnome-rr-debug', - sources: 'gnome-rr-debug.c', - dependencies: libgnome_desktop_dep, - install_dir: libexecdir, - install: true - ) -endif - test_programs = [ + 'gnome-rr-debug', 'test-xkb-info', 'test-pnp-ids', 'test-wall-clock', @@ -149,6 +141,8 @@ test_programs = [ foreach program : test_programs executable(program, program + '.c', - dependencies: libgnome_desktop_dep + dependencies: libgnome_desktop_dep, + install: get_option('debug_tools'), + install_dir: libexecdir / 'gnome-desktop-debug', ) endforeach |