{"id":810780,"url":"http://patchwork.ozlabs.org/api/patches/810780/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/1504729728-23279-5-git-send-email-cota@braap.org/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504729728-23279-5-git-send-email-cota@braap.org>","list_archive_url":null,"date":"2017-09-06T20:28:46","name":"[RFC,4/6] Makefile: install qemu-api.h as include/qemu-plugin.h","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"3ed014c8e81531872152973449b17e0df628c38e","submitter":{"id":65690,"url":"http://patchwork.ozlabs.org/api/people/65690/?format=json","name":"Emilio Cota","email":"cota@braap.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/1504729728-23279-5-git-send-email-cota@braap.org/mbox/","series":[{"id":1871,"url":"http://patchwork.ozlabs.org/api/series/1871/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=1871","date":"2017-09-06T20:28:45","name":"initial plugin support","version":1,"mbox":"http://patchwork.ozlabs.org/series/1871/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810780/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810780/checks/","tags":{},"related":[],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=braap.org header.i=@braap.org\n\theader.b=\"RFOtInrb\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com header.b=\"LZGlyxkn\"; \n\tdkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnZxk2Bksz9t2c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 06:31:54 +1000 (AEST)","from localhost ([::1]:37679 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dpgzI-0003QF-CI\n\tfor incoming@patchwork.ozlabs.org; Wed, 06 Sep 2017 16:31:52 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:53491)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <cota@braap.org>) id 1dpgxU-0002Zn-B9\n\tfor qemu-devel@nongnu.org; Wed, 06 Sep 2017 16:30:05 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <cota@braap.org>) id 1dpgxR-000149-AS\n\tfor qemu-devel@nongnu.org; Wed, 06 Sep 2017 16:30:00 -0400","from out1-smtp.messagingengine.com ([66.111.4.25]:48845)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <cota@braap.org>) id 1dpgxR-00012V-7Z\n\tfor qemu-devel@nongnu.org; Wed, 06 Sep 2017 16:29:57 -0400","from compute4.internal (compute4.nyi.internal [10.202.2.44])\n\tby mailout.nyi.internal (Postfix) with ESMTP id C5AE220D89;\n\tWed,  6 Sep 2017 16:29:55 -0400 (EDT)","from frontend1 ([10.202.2.160])\n\tby compute4.internal (MEProxy); Wed, 06 Sep 2017 16:29:55 -0400","from localhost (flamenco.cs.columbia.edu [128.59.20.216])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 80E3B7E68E;\n\tWed,  6 Sep 2017 16:29:55 -0400 (EDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h=cc\n\t:date:from:in-reply-to:message-id:references:subject:to\n\t:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=CXz\n\tTq/phlZidKiS+9OWIObBN4o4WgkdYrLlnCSJenCE=; b=RFOtInrbB7xxmq11NTL\n\tzIGHgrW8pEWnwK+UEZgAL8451EZBj5P6X2zr26Ogg4rLYfEhve97BCQM+gFc7uoM\n\tcrLyq6/xxmrsRxCQbU3BN89g9acTCplZLLO3/3NlQhYpMlGXNyTcZoeyS+KETBNt\n\thARfXqFPf7xKh1t9xb2H2nhA=","v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:date:from:in-reply-to:message-id\n\t:references:subject:to:x-me-sender:x-me-sender:x-sasl-enc\n\t:x-sasl-enc; s=fm1; bh=CXzTq/phlZidKiS+9OWIObBN4o4WgkdYrLlnCSJen\n\tCE=; b=LZGlyxknpXNWm4dhVaRitXpjPPMZQC8kUV31v17bm9rb2GCd6TTkvCjpI\n\tYIJ7su9ZpLsstkIW0PRI2krmAFmyfla+C/oQ+h4uLmpO4RJnmCvGXOcsJhwuguKP\n\t3w2jG2bm6dcPOA5zijf9PR5MRV7sXw5eSJ5gBDGnzAR6kQMSukWECWe2QXG8se2c\n\tsID0V+Ete946yqwOperCVlM6T0W9m8kCxkdZ5wJUDnavyNFllzu8LMTSfd0+Mf18\n\tvqWl92v9PcvrhpMR4Pg/dvKSXmW/sATqgvLCYf/r+Jc74McCEQkavUbMZnrM+6qR\n\thyrnrk6MuHR6aeMITCIFVHxIdxv9g=="],"X-ME-Sender":"<xms:w1qwWexq5JaWQwkJ7IjplCtn_GfAaG_p3vrd7AUGNuj6ESVk-kXwMA>","X-Sasl-enc":"jV0TK13/MXXi2BkTSYBV6yCbq/jBHlqur6TLXMXi5kC/ 1504729795","From":"\"Emilio G. Cota\" <cota@braap.org>","To":"qemu-devel@nongnu.org","Date":"Wed,  6 Sep 2017 16:28:46 -0400","Message-Id":"<1504729728-23279-5-git-send-email-cota@braap.org>","X-Mailer":"git-send-email 2.7.4","In-Reply-To":"<1504729728-23279-1-git-send-email-cota@braap.org>","References":"<1504729728-23279-1-git-send-email-cota@braap.org>","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"66.111.4.25","Subject":"[Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as\n\tinclude/qemu-plugin.h","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"=?utf-8?q?Llu=C3=ADs_Vilanova?= <vilanova@ac.upc.edu>,\n\tStefan Hajnoczi <stefanha@redhat.com>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"Signed-off-by: Emilio G. Cota <cota@braap.org>\n---\n Makefile | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)","diff":"diff --git a/Makefile b/Makefile\nindex ef72148..326867e 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -602,8 +602,10 @@ ifneq (,$(findstring qemu-ga,$(TOOLS)))\n endif\n endif\n \n+install-includedir:\n+\t$(INSTALL_DIR) \"$(DESTDIR)$(includedir)\"\n \n-install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir\n+install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir install-includedir\n ifneq ($(TOOLS),)\n \t$(call install-prog,$(subst qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir))\n endif\n@@ -626,6 +628,9 @@ endif\n ifeq ($(CONFIG_GTK),y)\n \t$(MAKE) -C po $@\n endif\n+ifeq ($(CONFIG_PLUGINS),y)\n+\t$(INSTALL_DATA) $(SRC_PATH)/include/qemu/plugin-api.h \"$(DESTDIR)$(includedir)/qemu-plugin.h\"\n+endif\n \t$(INSTALL_DIR) \"$(DESTDIR)$(qemu_datadir)/keymaps\"\n \tset -e; for x in $(KEYMAPS); do \\\n \t\t$(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x \"$(DESTDIR)$(qemu_datadir)/keymaps\"; \\\n","prefixes":["RFC","4/6"]}