diff mbox

Fix 'make install' from non-srcdir build

Message ID 1267173028-19509-1-git-send-email-amit.shah@redhat.com
State New
Headers show

Commit Message

Amit Shah Feb. 26, 2010, 8:30 a.m. UTC
Commit b5ec5ce0 broke 'make install' from non source-dir build. Fix.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Aurelien Jarno Feb. 27, 2010, 3:22 p.m. UTC | #1
On Fri, Feb 26, 2010 at 02:00:28PM +0530, Amit Shah wrote:
> Commit b5ec5ce0 broke 'make install' from non source-dir build. Fix.
> 
> Signed-off-by: Amit Shah <amit.shah@redhat.com>

Thanks, applied.

> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 296f500..14c1930 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -207,7 +207,7 @@ endif
>  
>  install-sysconfig:
>  	$(INSTALL_DIR) "$(sysconfdir)/qemu"
> -	$(INSTALL_DATA) sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
> +	$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
>  
>  install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
>  	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
> -- 
> 1.6.2.5
> 
> 
> 
>
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 296f500..14c1930 100644
--- a/Makefile
+++ b/Makefile
@@ -207,7 +207,7 @@  endif
 
 install-sysconfig:
 	$(INSTALL_DIR) "$(sysconfdir)/qemu"
-	$(INSTALL_DATA) sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
+	$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
 
 install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
 	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"