From: Riku Voipio Date: Tue, 20 Sep 2016 09:01:34 +0000 (+0300) Subject: build-sys: fix make install regression X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a008535b9fa396226ff9cf78b8ac5f3584bda58e;p=qemu.git 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 Cc: Markus Armbruster Signed-off-by: Riku Voipio Reviewed-by: Marc-André Lureau Reviewed-by: Markus Armbruster Message-id: 1474362094-2293-1-git-send-email-riku.voipio@linaro.org Signed-off-by: Peter Maydell --- 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"