diff --git a/Makefile b/Makefile index 04a7d00..8ebaacf 100644 --- a/Makefile +++ b/Makefile @@ -240,8 +240,6 @@ ifneq ($(vhost-user-json-y),) $(INSTALL_DATA) $$x "$(DESTDIR)$(qemu_datadir)/vhost-user/"; \ done endif - $(INSTALL_DATA) $(SRC_PATH)/ui/qemu.desktop \ - "$(DESTDIR)$(qemu_desktopdir)/qemu.desktop" ifdef CONFIG_GTK $(MAKE) -C po $@ endif diff --git a/ui/meson.build b/ui/meson.build index 22923e3..e8b94ca 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -109,4 +109,6 @@ endforeach subdir('shader') subdir('icons') +install_data('qemu.desktop', install_dir: config_host['qemu_desktopdir']) + modules += {'ui': ui_modules}