meson: examples: build and install example files

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
Pavel Hrdina
2020-06-25 18:14:13 +02:00
parent 432aa659f7
commit f31209fc6c
15 changed files with 129 additions and 130 deletions

2
examples/xml/meson.build Normal file
View File

@@ -0,0 +1,2 @@
subdir('storage')
subdir('test')

View File

@@ -0,0 +1,15 @@
install_data(
[
'pool-dir.xml',
'pool-fs.xml',
'pool-logical.xml',
'pool-netfs.xml',
'vol-cow.xml',
'vol-qcow.xml',
'vol-qcow2.xml',
'vol-raw.xml',
'vol-sparse.xml',
'vol-vmdk.xml',
],
install_dir: example_dir / 'xml' / 'storage',
)

View File

@@ -0,0 +1,14 @@
install_data(
[
'testdev.xml',
'testnodeinline.xml',
'testdomfc4.xml',
'testdomfv0.xml',
'testnode.xml',
'testnetdef.xml',
'testvol.xml',
'testnetpriv.xml',
'testpool.xml',
],
install_dir: example_dir / 'xml' / 'test',
)