--- a/gplugin-gtk-viewer/meson.build Tue Sep 22 00:42:26 2020 -0500
+++ b/gplugin-gtk-viewer/meson.build Mon Oct 12 22:21:22 2020 -0500
@@ -11,7 +11,7 @@
'gplugin-gtk-viewer-window.c',
'gplugin-gtk-viewer-window.h',
dependencies : [gplugin_dep, gplugin_gtk_dep],
+ install : get_option('install-gplugin-gtk-viewer') if get_option('help2man')
@@ -22,7 +22,7 @@
output : 'gplugin-gtk-viewer.1',
+ install : get_option('install-gplugin-gtk-viewer'), install_dir : get_option('mandir') / 'man1')
--- a/gplugin-query/meson.build Tue Sep 22 00:42:26 2020 -0500
+++ b/gplugin-query/meson.build Mon Oct 12 22:21:22 2020 -0500
@@ -1,7 +1,7 @@
gplugin_query = executable('gplugin-query',
dependencies : [gplugin_dep, GLIB, GOBJECT],
+ install : get_option('install-gplugin-query')) if get_option('help2man')
custom_target('gplugin-query.1',
@@ -11,7 +11,7 @@
output : 'gplugin-query.1',
+ install : get_option('install-gplugin-query'), install_dir : get_option('mandir') / 'man1')
--- a/meson_options.txt Tue Sep 22 00:42:26 2020 -0500
+++ b/meson_options.txt Mon Oct 12 22:21:22 2020 -0500
@@ -23,6 +23,18 @@
+ 'install-gplugin-gtk-viewer', + type : 'boolean', value : true, + description : 'Whether or not to install the gtk viewer application' + 'install-gplugin-query', + type : 'boolean', value : true, + description : 'Whether or not to install the query application' type : 'boolean', value : true,
description : 'Whether or not to build the Lua plugin loader'