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 47321bb455)
			
			
This commit is contained in:
		
							parent
							
								
									c09c78298c
								
							
						
					
					
						commit
						acd881e271
					
				| 
						 | 
				
			
			@ -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',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue