2019-05-02 00:51:10 +02:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Wed, 23 Jan 2019 20:23:01 -0700
|
|
|
|
Subject: Conditionalize ui bitmap installation better
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
---
|
|
|
|
Makefile | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
2019-09-12 17:54:03 +02:00
|
|
|
index 00ed716275743a161ea05e7d2a1e..ab4d8683ad8f86aa680b343310e1 100644
|
2019-05-02 00:51:10 +02:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2019-09-12 17:54:03 +02:00
|
|
|
@@ -887,6 +887,7 @@ ifneq ($(DESCS),)
|
|
|
|
"$(DESTDIR)$(qemu_datadir)/firmware/$$x"; \
|
2019-05-02 00:51:10 +02:00
|
|
|
done
|
|
|
|
endif
|
|
|
|
+ifneq ($(or $(CONFIG_GTK),$(CONFIG_SDL)),)
|
|
|
|
for s in $(ICON_SIZES); do \
|
2019-09-12 17:54:03 +02:00
|
|
|
mkdir -p "$(DESTDIR)$(qemu_icondir)/hicolor/$${s}/apps"; \
|
2019-05-02 00:51:10 +02:00
|
|
|
$(INSTALL_DATA) $(SRC_PATH)/ui/icons/qemu_$${s}.png \
|
2019-09-12 17:54:03 +02:00
|
|
|
@@ -901,6 +902,7 @@ endif
|
|
|
|
mkdir -p "$(DESTDIR)$(qemu_desktopdir)"
|
2019-05-02 00:51:10 +02:00
|
|
|
$(INSTALL_DATA) $(SRC_PATH)/ui/qemu.desktop \
|
2019-09-12 17:54:03 +02:00
|
|
|
"$(DESTDIR)$(qemu_desktopdir)/qemu.desktop"
|
2019-05-02 00:51:10 +02:00
|
|
|
+endif
|
|
|
|
ifdef CONFIG_GTK
|
|
|
|
$(MAKE) -C po $@
|
|
|
|
endif
|