toolbox/meson_options.txt
Ondřej Míchal bafbbe81c9 Generate & install completion scripts in build system
The previous commit added a means to generating the completion scripts
and this one plugs that into the build system.

A new build option 'install_completions' has been introduced. Set to
'True' by default.

Completions for bash and fish use pkg-config for getting the preferred
install locations for the completions. If the packages are not
available, fallbacks are in-place.

The 'completion' subdir has been kept to work around the ideology of
Meson that does not allow creating/outputing files in subdirectories nor
using the output of custom_target() in install_data().

https://github.com/containers/toolbox/pull/840
2022-02-21 15:15:30 +02:00

26 lines
570 B
Meson

option(
'migration_path_for_coreos_toolbox',
description: 'Offer a migration path to users of github.com/coreos/toolbox',
type: 'boolean',
value: false
)
option(
'profile_dir',
description: 'Directory for profile.d files to be read by the shell on start-up',
type: 'string',
value: '/usr/share/profile.d'
)
option(
'tmpfiles_dir',
description: 'Directory for system-wide tmpfiles.d(5) files',
type: 'string',
)
option(
'install_completions',
description: 'Install bash, zsh and fish command completions',
type: 'boolean',
value: true,
)