diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-05-13 19:36:04 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-06-19 09:52:17 -0400 |
commit | acd881e271419a2fc08cfc34ed9845346cee9e84 (patch) | |
tree | 5fc50d4b449c0a8ded6c26c5023877cc7922735c | |
parent | c09c78298cdb4cdd8383e252d8fe68adae1f3c54 (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>
(cherry picked from commit 47321bb455b1226c04711241496e62667eea34ea)
-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', |