For the cases where you don't want (or cannot) install it. For example,
I've seen similar requests from the Nix people.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/86
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
endif
endif
-install_data(
- files('shell-completion/bash/kmod'),
- install_dir : bashcompletiondir,
-)
+if bashcompletiondir != 'no'
+ install_data(
+ files('shell-completion/bash/kmod'),
+ install_dir : bashcompletiondir,
+ )
+endif
#-------------------------------------------------------------------------------
# Compression support
option(
'bashcompletiondir',
type : 'string',
- description : 'Bash completions directory.',
+ description : 'Bash completions directory. Use "no" to disable.',
)
# Compression options