build: always add subdirs
This commit is contained in:
parent
fd70988587
commit
21d81ea5a9
@ -1,3 +1,4 @@
|
||||
if get_option('bash-completions')
|
||||
bash_completions = [
|
||||
'openrc',
|
||||
'openrc-service-script',
|
||||
@ -8,3 +9,4 @@ bash_completions = [
|
||||
|
||||
install_data(bash_completions,
|
||||
install_dir : get_option('datadir') / 'bash-completion/completions')
|
||||
endif
|
||||
|
10
meson.build
10
meson.build
@ -187,25 +187,19 @@ init_d_conf_data.set('SYSCONFDIR', get_option('sysconfdir'))
|
||||
dl_dep = cc.find_library('dl', required: false)
|
||||
util_dep = cc.find_library('util', required: false)
|
||||
|
||||
if get_option('bash-completions')
|
||||
subdir('bash-completion')
|
||||
endif
|
||||
subdir('bash-completion')
|
||||
subdir('conf.d')
|
||||
subdir('etc')
|
||||
subdir('init.d')
|
||||
subdir('local.d')
|
||||
subdir('man')
|
||||
if get_option('pkgconfig')
|
||||
subdir('pkgconfig')
|
||||
endif
|
||||
subdir('scripts')
|
||||
subdir('sh')
|
||||
subdir('src')
|
||||
subdir('support')
|
||||
subdir('sysctl.d')
|
||||
if get_option('zsh-completions')
|
||||
subdir('zsh-completion')
|
||||
endif
|
||||
subdir('zsh-completion')
|
||||
|
||||
meson.add_install_script('tools/meson_runlevels.sh',
|
||||
os,
|
||||
|
@ -1,3 +1,4 @@
|
||||
if get_option('pkgconfig')
|
||||
pkgconfig_dir = get_option('libdir') / 'pkgconfig'
|
||||
|
||||
pkgconfig_conf_data = configuration_data()
|
||||
@ -20,3 +21,4 @@ foreach file : pkgconfig_files
|
||||
configuration : pkgconfig_conf_data,
|
||||
install_dir : pkgconfig_dir)
|
||||
endforeach
|
||||
endif
|
||||
|
@ -1,3 +1,4 @@
|
||||
if get_option('zsh-completions')
|
||||
zsh_completions = [
|
||||
'_openrc',
|
||||
'_rc-service',
|
||||
@ -7,3 +8,4 @@ zsh_completions = [
|
||||
|
||||
install_data(zsh_completions,
|
||||
install_dir : get_option('datadir') / 'zsh/site-functions')
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user