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.
'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(
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',