mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
2c201c2140
Using conf.set() with a boolean argument does the right thing: either #ifdef or #undef. This means that conf.set can be used unconditionally. Previously I used '1' as the placeholder value, and that needs to be changed to 'true' for consistency (under meson 1 cannot be used in boolean context). All checks need to be adjusted.
13 lines
448 B
Meson
13 lines
448 B
Meson
if conf.get('ENABLE_NETWORKD', false)
|
|
install_data('80-container-host0.network',
|
|
'80-container-ve.network',
|
|
'80-container-vz.network',
|
|
install_dir : networkdir)
|
|
|
|
meson.add_install_script('sh', '-c',
|
|
mkdir_p.format(join_paths(sysconfdir, 'systemd/network')))
|
|
endif
|
|
|
|
install_data('99-default.link',
|
|
install_dir : networkdir)
|