]> git.proxmox.com Git - mirror_lxc.git/blame - templates/meson.build
meson: Fix template installation location
[mirror_lxc.git] / templates / meson.build
CommitLineData
7172b98c
CB
1# SPDX-License-Identifier: LGPL-2.1-or-later
2
3template_scripts = configure_file(
20b03401
SG
4 configuration: dummy_config_data,
5 input: 'lxc-busybox.in',
46b9598f
SG
6 output: 'lxc-busybox',
7 install: true,
8 install_dir: lxctemplatedir)
7172b98c
CB
9
10template_config_data = configuration_data()
11template_config_data.set_quoted('LXCHOOKDIR', lxchookdir)
12template_config_data.set_quoted('LXCTEMPLATECONFIG', lxctemplateconfig)
13template_config_data.set_quoted('LOCALSTATEDIR', localstatedir)
14template_config_data.set_quoted('PACKAGE_VERSION', meson.project_version())
15
16template_scripts = configure_file(
20b03401
SG
17 configuration: template_config_data,
18 input: 'lxc-download.in',
46b9598f
SG
19 output: 'lxc-download',
20 install: true,
21 install_dir: lxctemplatedir)
7172b98c
CB
22
23template_scripts = configure_file(
20b03401
SG
24 configuration: template_config_data,
25 input: 'lxc-local.in',
46b9598f
SG
26 output: 'lxc-local',
27 install: true,
28 install_dir: lxctemplatedir)
7172b98c
CB
29
30template_scripts = configure_file(
20b03401
SG
31 configuration: template_config_data,
32 input: 'lxc-oci.in',
46b9598f
SG
33 output: 'lxc-oci',
34 install: true,
35 install_dir: lxctemplatedir)