Fix 'make install' from non-srcdir build

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>
This commit is contained in:
Amit Shah 2010-02-26 14:00:28 +05:30 committed by Aurelien Jarno
parent 7ea06da32b
commit 9e0a5d5495

View File

@ -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)"