From: Bruce Rogers Date: Wed, 23 Jan 2019 20:23:01 -0700 Subject: Conditionalize ui bitmap installation better Signed-off-by: Bruce Rogers --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f9d6e92510..583bfc5d93 100644 --- a/Makefile +++ b/Makefile @@ -809,6 +809,7 @@ ifneq ($(BLOBS),) $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(qemu_datadir)"; \ done endif +ifneq ($(or $(CONFIG_GTK),$(CONFIG_SDL)),) for s in $(ICON_SIZES); do \ mkdir -p "$(DESTDIR)/$(qemu_icondir)/hicolor/$${s}/apps"; \ $(INSTALL_DATA) $(SRC_PATH)/ui/icons/qemu_$${s}.png \ @@ -823,6 +824,7 @@ endif mkdir -p "$(DESTDIR)/$(qemu_desktopdir)" $(INSTALL_DATA) $(SRC_PATH)/ui/qemu.desktop \ "$(DESTDIR)/$(qemu_desktopdir)/qemu.desktop" +endif ifdef CONFIG_GTK $(MAKE) -C po $@ endif