qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as include/qemu-plug


From: Emilio G. Cota
Subject: [Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as include/qemu-plugin.h
Date: Wed, 6 Sep 2017 16:28:46 -0400

Signed-off-by: Emilio G. Cota <address@hidden>
---
 Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ef72148..326867e 100644
--- a/Makefile
+++ b/Makefile
@@ -602,8 +602,10 @@ ifneq (,$(findstring qemu-ga,$(TOOLS)))
 endif
 endif
 
+install-includedir:
+       $(INSTALL_DIR) "$(DESTDIR)$(includedir)"
 
-install: all $(if $(BUILD_DOCS),install-doc) install-datadir 
install-localstatedir
+install: all $(if $(BUILD_DOCS),install-doc) install-datadir 
install-localstatedir install-includedir
 ifneq ($(TOOLS),)
        $(call install-prog,$(subst 
qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir))
 endif
@@ -626,6 +628,9 @@ endif
 ifeq ($(CONFIG_GTK),y)
        $(MAKE) -C po $@
 endif
+ifeq ($(CONFIG_PLUGINS),y)
+       $(INSTALL_DATA) $(SRC_PATH)/include/qemu/plugin-api.h 
"$(DESTDIR)$(includedir)/qemu-plugin.h"
+endif
        $(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
        set -e; for x in $(KEYMAPS); do \
                $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x 
"$(DESTDIR)$(qemu_datadir)/keymaps"; \
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]