gplugin/gplugin

Some how I forgot to add gplugin-query/meson.build
feature/gplugin-query-cleanups
2020-04-18, Gary Kramlich
160e54fbe969
Parents 833f7f76ee7e
Children 358f0b85ecfb
Some how I forgot to add gplugin-query/meson.build
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/gplugin-query/meson.build Sat Apr 18 05:34:26 2020 -0500
@@ -0,0 +1,26 @@
+TEMPLATE_GLIB = dependency('template-glib-1.0')
+
+gplugin_query_resources = gnome.compile_resources(
+ 'gplugin-query-resources',
+ 'data/gplugin-query.gresource.xml',
+ c_name: 'gplugin_query',
+ source_dir: 'data')
+
+gplugin_query = executable('gplugin-query',
+ 'gplugin-query.c',
+ gplugin_query_resources,
+ dependencies : [gplugin_dep, GLIB, GOBJECT, TEMPLATE_GLIB],
+ install : true)
+
+if get_option('help2man')
+ custom_target('gplugin-query.1',
+ command : [help2man,
+ '--name=Query installed plugins', '--section=1',
+ '--help-option=--help-all', '--no-info',
+ '--output', '@OUTPUT@',
+ gplugin_query],
+ output : 'gplugin-query.1',
+ install : true,
+ install_dir : get_option('mandir') / 'man1')
+endif
+