Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xfree86/meson.build | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build index 133c96d89..cacf56d4c 100644 --- a/hw/xfree86/meson.build +++ b/hw/xfree86/meson.build @@ -190,17 +190,19 @@ install_man(configure_file( configuration: manpage_config, )) -install_man(configure_file( - input: 'man/Xorg.wrap.man', - output: 'Xorg.wrap.1', - configuration: manpage_config, -)) - -install_man(configure_file( - input: 'man/Xwrapper.config.man', - output: 'Xwrapper.config.5', - configuration: manpage_config, -)) +if get_option('suid_wrapper') + install_man(configure_file( + input: 'man/Xorg.wrap.man', + output: 'Xorg.wrap.1', + configuration: manpage_config, + )) + + install_man(configure_file( + input: 'man/Xwrapper.config.man', + output: 'Xwrapper.config.5', + configuration: manpage_config, + )) +endif install_man(configure_file( input: 'man/xorg.conf.man', -- 2.17.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel