diff --git a/meson.build b/meson.build index f27fb79b2..3db1c66d8 100644 --- a/meson.build +++ b/meson.build @@ -16,6 +16,7 @@ git = run_command('test', '-e', '.git', check: false).returncode() == 0 subdir('scripts') subdir('man') subdir('data') +subdir('ui') if git spec_conf = configuration_data({ diff --git a/setup.py b/setup.py index 282ba733b..63cfe43a0 100755 --- a/setup.py +++ b/setup.py @@ -433,8 +433,6 @@ setuptools.setup( "build/virt-xml"]), data_files=[ - ("share/virt-manager/ui", glob.glob("ui/*.ui")), - ("share/virt-manager/virtManager", glob.glob("virtManager/*.py")), ("share/virt-manager/virtManager/details", glob.glob("virtManager/details/*.py")), diff --git a/ui/meson.build b/ui/meson.build new file mode 100644 index 000000000..a1d543af8 --- /dev/null +++ b/ui/meson.build @@ -0,0 +1,38 @@ +ui_files = files( + 'about.ui', + 'addhardware.ui', + 'addstorage.ui', + 'asyncjob.ui', + 'clone.ui', + 'connectauth.ui', + 'console.ui', + 'createconn.ui', + 'createnet.ui', + 'createpool.ui', + 'createvm.ui', + 'createvol.ui', + 'delete.ui', + 'details.ui', + 'fsdetails.ui', + 'gfxdetails.ui', + 'hostnets.ui', + 'hoststorage.ui', + 'host.ui', + 'manager.ui', + 'migrate.ui', + 'netlist.ui', + 'oslist.ui', + 'preferences.ui', + 'snapshotsnew.ui', + 'snapshots.ui', + 'storagebrowse.ui', + 'tpmdetails.ui', + 'vmwindow.ui', + 'vsockdetails.ui', + 'xmleditor.ui', +) + +install_data( + ui_files, + install_dir: pkgdir / 'ui' +)