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>
This commit is contained in:
Jon Turney 2018-05-13 19:36:04 +01:00 committed by Adam Jackson
parent 08a3583b5b
commit 47321bb455

View File

@ -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,
))
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,
))
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',