Fix 'make install' from non-srcdir build
authorAmit Shah <amit.shah@redhat.com>
Fri, 26 Feb 2010 08:30:28 +0000 (14:00 +0530)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 27 Feb 2010 15:10:46 +0000 (16:10 +0100)
Commit b5ec5ce0 broke 'make install' from non source-dir build. Fix.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Makefile

index c6629d6..aaf8f35 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -193,7 +193,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)"