diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-05-13 19:36:04 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-05-14 14:13:38 -0400 |
commit | 47321bb455b1226c04711241496e62667eea34ea (patch) | |
tree | dfb8385e168ea5c4cde972ae9b63990a4107dd65 | |
parent | 08a3583b5b2f812cc7f039aebd74ff9b1cb0dbcd (diff) |
meson: don't install xorg wrapper manpages if suid-wrapper isn't being used
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
-rw-r--r-- | hw/xfree86/meson.build | 24 |
1 files 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', |