]> git.ipfire.org Git - thirdparty/systemd.git/blob - network/meson.build
doc: fix .ssh credential examples
[thirdparty/systemd.git] / network / meson.build
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 if conf.get('ENABLE_NETWORKD') == 1
4 install_data(
5 '80-6rd-tunnel.network',
6 '80-6rd-tunnel.link',
7 '80-container-host0.network',
8 '80-container-vb.network',
9 '80-container-vb.link',
10 '80-container-ve.network',
11 '80-container-ve.link',
12 '80-container-vz.network',
13 '80-container-vz.link',
14 '80-namespace-ns.network',
15 '80-vm-vt.network',
16 '80-vm-vt.link',
17 '80-wifi-adhoc.network',
18 install_dir : networkdir)
19
20 example_network_files = files(
21 '80-auto-link-local.network.example',
22 '89-ethernet.network.example',
23 '80-wifi-ap.network.example',
24 '80-wifi-station.network.example',
25 )
26
27 install_data(
28 example_network_files,
29 install_dir : networkdir)
30
31 if get_option('default-network')
32 foreach f : example_network_files
33 install_data(
34 f,
35 rename : fs.replace_suffix(fs.name(f), ''),
36 install_dir : networkdir)
37 endforeach
38 endif
39 endif
40
41 install_data('99-default.link',
42 install_dir : networkdir)
43
44 if install_sysconfdir
45 install_emptydir(sysconfdir / 'systemd/network')
46 endif