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:
parent
08a3583b5b
commit
47321bb455
|
@ -190,17 +190,19 @@ install_man(configure_file(
|
||||||
configuration: manpage_config,
|
configuration: manpage_config,
|
||||||
))
|
))
|
||||||
|
|
||||||
install_man(configure_file(
|
if get_option('suid_wrapper')
|
||||||
input: 'man/Xorg.wrap.man',
|
install_man(configure_file(
|
||||||
output: 'Xorg.wrap.1',
|
input: 'man/Xorg.wrap.man',
|
||||||
configuration: manpage_config,
|
output: 'Xorg.wrap.1',
|
||||||
))
|
configuration: manpage_config,
|
||||||
|
))
|
||||||
|
|
||||||
install_man(configure_file(
|
install_man(configure_file(
|
||||||
input: 'man/Xwrapper.config.man',
|
input: 'man/Xwrapper.config.man',
|
||||||
output: 'Xwrapper.config.5',
|
output: 'Xwrapper.config.5',
|
||||||
configuration: manpage_config,
|
configuration: manpage_config,
|
||||||
))
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
install_man(configure_file(
|
install_man(configure_file(
|
||||||
input: 'man/xorg.conf.man',
|
input: 'man/xorg.conf.man',
|
||||||
|
|
Loading…
Reference in New Issue