--- a/demo/meson.build Sun Sep 29 23:52:04 2019 -0500
+++ b/demo/meson.build Mon Oct 07 02:41:27 2019 -0400
@@ -30,12 +30,14 @@
-custom_target('talkatu-demo.1',
- '--name=Talkatu Demo', '--section=1',
- '--help-option=--help-all', '--no-info',
- '--output', '@OUTPUT@',
- output : 'talkatu-demo.1',
- install_dir : join_paths(get_option('mandir'), 'man1'))
+if get_option('help2man') + custom_target('talkatu-demo.1', + '--name=Talkatu Demo', '--section=1', + '--help-option=--help-all', '--no-info', + '--output', '@OUTPUT@', + output : 'talkatu-demo.1', + install_dir : join_paths(get_option('mandir'), 'man1')) --- a/meson.build Sun Sep 29 23:52:04 2019 -0500
+++ b/meson.build Mon Oct 07 02:41:27 2019 -0400
@@ -41,7 +41,9 @@
CMARK = dependency('libcmark')
-HELP2MAN = find_program('help2man')
+if get_option('help2man') + HELP2MAN = find_program('help2man') XVFB_RUN = find_program('xvfb-run')
--- a/meson_options.txt Sun Sep 29 23:52:04 2019 -0500
+++ b/meson_options.txt Mon Oct 07 02:41:27 2019 -0400
@@ -14,6 +14,12 @@
+ type : 'boolean', value : true, + description : 'Whether or not to build man pages from --help output' type : 'boolean', value : true,
description : 'build gobject-introspection support'
@@ -23,4 +29,4 @@
type : 'boolean', value : true,
description : 'run unit tests'
\ No newline at end of file