From 990caaf19c73d6e82c78bfd144a403c35525085a Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Mon, 8 Mar 2010 15:43:41 +0100 Subject: [PATCH] install: honor DESTDIR on sysconfdir population 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 Signed-off-by: Aurelien Jarno --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bf2cef2ab5..2066c12dee 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)"