From: Zbigniew Jędrzejewski-Szmek Date: Wed, 22 Nov 2023 23:06:29 +0000 (+0100) Subject: meson: always install network example files X-Git-Tag: v255-rc4~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=205a30fa13f8da1a4d0348e5b05d3a5f4c28727d;p=thirdparty%2Fsystemd.git 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. --- diff --git a/network/meson.build b/network/meson.build index 4f17f7385ed..2a472f4f516 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',