qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] install: honor DESTDIR on sysconfdir population


From: Andre Przywara
Subject: [Qemu-devel] [PATCH] install: honor DESTDIR on sysconfdir population
Date: Mon, 8 Mar 2010 15:43:41 +0100

When creating and populating $sysconfdir, we should prepend $DESTDIR
as we do with all other paths.

Reported-by: Frank Arnold <address@hidden>
Signed-off-by: Andre Przywara <address@hidden>
---
 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






reply via email to

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