Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoeH2-0004pm-Ii for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:36 -0500 Received: from [199.232.76.173] (port=56154 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoeH2-0004pR-0b for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:36 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NoeGz-0003b9-UW for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:35 -0500 Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15]:39294 helo=TX2EHSOBE010.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1NoeGz-0003ah-KY for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:33 -0500 From: Andre Przywara Date: Mon, 8 Mar 2010 15:43:41 +0100 Message-ID: <1268059421-32759-1-git-send-email-andre.przywara@amd.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH] install: honor DESTDIR on sysconfdir population List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: frank.arnold@amd.com, qemu-devel@nongnu.org, Andre Przywara When creating and populating $sysconfdir, we should prepend $DESTDIR as we do with all other paths. Reported-by: Frank Arnold Signed-off-by: Andre Przywara --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bf2cef2..2066c12 100644 --- a/Makefile +++ b/Makefile @@ -194,8 +194,8 @@ ifdef CONFIG_POSIX endif install-sysconfig: - $(INSTALL_DIR) "$(sysconfdir)/qemu" - $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu" + $(INSTALL_DIR) "$(DESTDIR)$(sysconfdir)/qemu" + $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(sysconfdir)/qemu" install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig $(INSTALL_DIR) "$(DESTDIR)$(bindir)" -- 1.6.4