summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2016-09-20 12:01:34 +0300
committerPeter Maydell <peter.maydell@linaro.org>2016-09-20 11:32:43 +0100
commita008535b9fa396226ff9cf78b8ac5f3584bda58e (patch)
tree9651e3769b3be7c35f2810dd79bbbffe27d3b920 /Makefile
parent9b8595bca61fb5570363a2d7970b0c7d62a332de (diff)
build-sys: fix make install regression
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 81ca388a75..444ae37bd3 100644
--- 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"