/
githubmirror
/
ndctl
Обзор
Документация
Войти
/
githubmirror
/
ndctl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
contrib/meson.build
31 строка
1 KB
Dan Williams
build: update meson feature deprecation warnings
19 июн 2025, 02:18
19 июн 2025, 02:18
4259c72
Код
Авторство
О чём код?
bashcompletiondir = get_option('bashcompletiondir') if bashcompletiondir == '' bash_completion = dependency('bash-completion', required : false) if bash_completion.found() bashcompletiondir = bash_completion.get_variable(pkgconfig : 'completionsdir') else bashcompletiondir = datadir / 'bash-completion/completions' endif endif if bashcompletiondir != 'no' install_data('ndctl', install_dir : bashcompletiondir) # TODO Switch to symlinks once 0.61.0 is more widely available # install_symlink('daxctl', # install_dir : bashcompletiondir, # pointing_to : 'ndctl' # ) # install_symlink('cxl', # install_dir : bashcompletiondir, # pointing_to : 'ndctl' # ) install_data('ndctl', rename : 'daxctl', install_dir : bashcompletiondir) install_data('ndctl', rename : 'cxl', install_dir : bashcompletiondir) endif modprobedatadir = get_option('modprobedatadir') if modprobedatadir == '' modprobedatadir = sysconfdir + '/modprobe.d/' endif install_data('nvdimm-security.conf', install_dir : modprobedatadir)