mirror of
https://github.com/systemd/systemd.git
synced 2025-08-30 05:49:54 +03:00
meson: always install network example files
I started working on integrating this in the Fedora package and realized that the example files should be installed regardless of the renamed files when default-network=true is used. This is because the renamed files become part of a different package, and we want to have the other files which are used as documentation in the main package anyway.
This commit is contained in:
committed by
Frantisek Sumsal
parent
a935f3dd7e
commit
205a30fa13
@ -18,6 +18,10 @@ if conf.get('ENABLE_NETWORKD') == 1
|
|||||||
'80-wifi-station.network.example',
|
'80-wifi-station.network.example',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install_data(
|
||||||
|
example_network_files,
|
||||||
|
install_dir : networkdir)
|
||||||
|
|
||||||
if get_option('default-network')
|
if get_option('default-network')
|
||||||
foreach f : example_network_files
|
foreach f : example_network_files
|
||||||
install_data(
|
install_data(
|
||||||
@ -25,12 +29,7 @@ if conf.get('ENABLE_NETWORKD') == 1
|
|||||||
rename : fs.replace_suffix(fs.name(f), ''),
|
rename : fs.replace_suffix(fs.name(f), ''),
|
||||||
install_dir : networkdir)
|
install_dir : networkdir)
|
||||||
endforeach
|
endforeach
|
||||||
else
|
|
||||||
install_data(
|
|
||||||
example_network_files,
|
|
||||||
install_dir : networkdir)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install_data('99-default.link',
|
install_data('99-default.link',
|
||||||
|
Reference in New Issue
Block a user