Use -Dfish_completion=false to reduce the install size by a few more Kb

This commit is contained in:
Richard Hughes 2021-11-12 16:16:02 +00:00
parent 34d531074c
commit e840e9c23b
2 changed files with 10 additions and 2 deletions

View File

@ -1,8 +1,14 @@
subdir('builder')
subdir('pki')
subdir('remotes.d')
subdir('bash-completion')
subdir('fish-completion')
if get_option('bash_completion')
subdir('bash-completion')
endif
if get_option('fish_completion')
subdir('fish-completion')
endif
if get_option('tests')
subdir('device-tests')

View File

@ -48,3 +48,5 @@ option('udevdir', type: 'string', value: '', description: 'Directory for udev ru
option('efi_os_dir', type: 'string', description : 'the hardcoded name of OS directory in ESP, e.g. fedora')
option('efi_binary', type: 'boolean', value : true, description : 'generate uefi binary if missing')
option('metainfo', type: 'boolean', value : true, description : 'install the project metainfo.xml information')
option('bash_completion', type: 'boolean', value : true, description : 'enable bash completion')
option('fish_completion', type: 'boolean', value : true, description : 'enable fish completion')