summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-11-23 00:06:29 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-11-23 11:02:36 +0100
commit205a30fa13f8da1a4d0348e5b05d3a5f4c28727d (patch)
treef7a181a4e82a42660b4cb4f1318bd5d8807dbd99 /network
parentFinalize NEWS for v255-rc3 (diff)
downloadsystemd-205a30fa13f8da1a4d0348e5b05d3a5f4c28727d.tar.xz
systemd-205a30fa13f8da1a4d0348e5b05d3a5f4c28727d.zip
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.
Diffstat (limited to 'network')
-rw-r--r--network/meson.build9
1 files changed, 4 insertions, 5 deletions
diff --git a/network/meson.build b/network/meson.build
index 4f17f7385e..2a472f4f51 100644
--- a/network/meson.build
+++ b/network/meson.build
@@ -18,6 +18,10 @@ if conf.get('ENABLE_NETWORKD') == 1
'80-wifi-station.network.example',
)
+ install_data(
+ example_network_files,
+ install_dir : networkdir)
+
if get_option('default-network')
foreach f : example_network_files
install_data(
@@ -25,12 +29,7 @@ if conf.get('ENABLE_NETWORKD') == 1
rename : fs.replace_suffix(fs.name(f), ''),
install_dir : networkdir)
endforeach
- else
- install_data(
- example_network_files,
- install_dir : networkdir)
endif
-
endif
install_data('99-default.link',