Skip to content

Commit 205a30f

Browse files
keszybzmrc0mmand
authored andcommitted
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.
1 parent a935f3d commit 205a30f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

network/meson.build

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,18 @@ if conf.get('ENABLE_NETWORKD') == 1
1818
'80-wifi-station.network.example',
1919
)
2020

21+
install_data(
22+
example_network_files,
23+
install_dir : networkdir)
24+
2125
if get_option('default-network')
2226
foreach f : example_network_files
2327
install_data(
2428
f,
2529
rename : fs.replace_suffix(fs.name(f), ''),
2630
install_dir : networkdir)
2731
endforeach
28-
else
29-
install_data(
30-
example_network_files,
31-
install_dir : networkdir)
3232
endif
33-
3433
endif
3534

3635
install_data('99-default.link',

0 commit comments

Comments
 (0)