]> git.proxmox.com Git - mirror_qemu.git/commitdiff
build-sys: fix make install regression
authorRiku Voipio <riku.voipio@linaro.org>
Tue, 20 Sep 2016 09:01:34 +0000 (12:01 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Sep 2016 10:32:43 +0000 (11:32 +0100)
Since bd6092e Replace qmp-commands.hx by docs/qmp-commands.txt
make install fails if building out of source-tree.

Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1474362094-2293-1-git-send-email-riku.voipio@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Makefile

index 81ca388a75c2c141137a7a67a2e2e56634596868..444ae37bd30bd3214ef714da5d6e2bd8c971222e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -431,7 +431,7 @@ endif
 install-doc: $(DOCS)
        $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)"
        $(INSTALL_DATA) qemu-doc.html  qemu-tech.html "$(DESTDIR)$(qemu_docdir)"
-       $(INSTALL_DATA) docs/qmp-commands.txt "$(DESTDIR)$(qemu_docdir)"
+       $(INSTALL_DATA) $(SRC_PATH)/docs/qmp-commands.txt "$(DESTDIR)$(qemu_docdir)"
 ifdef CONFIG_POSIX
        $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1"
        $(INSTALL_DATA) qemu.1 "$(DESTDIR)$(mandir)/man1"