From: Andre Przywara Date: Mon, 8 Mar 2010 14:43:41 +0000 (+0100) Subject: install: honor DESTDIR on sysconfdir population X-Git-Tag: TizenStudio_2.0_p2.3~5403 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15a70217fa86a07106dd8edda09d6c2e1196fc8f;p=sdk%2Femulator%2Fqemu.git 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 --- 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)"