qapi: Clean up build of generated documentation
commitbd7f974796872fc754c2d01b3a8499e8bb85f844
authorMarkus Armbruster <armbru@redhat.com>
Wed, 15 Mar 2017 12:56:56 +0000 (15 13:56 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 16 Mar 2017 06:13:02 +0000 (16 07:13 +0100)
tree5e096e143fe300a2d83c0629de106c3b44a479ae
parent2cfbae3c423ecd13a7722ac7a7dca7ec4168e2ff
qapi: Clean up build of generated documentation

Rename intermediate qemu-qapi.texi to qemu-qmp-qapi.texi to match its
user qemu-qmp-ref.texi, just like qemu-ga-qapi.texi matches
qemu-ga-ref.texi.

Build the intermediate .texi next to the sources and the final output
in docs/ instead of dumping them into the build root.

Fix version.texi dependencies so that only the targets that actually
need it depend on it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1489582656-31133-8-git-send-email-armbru@redhat.com>
.gitignore
Makefile
docs/qemu-qmp-ref.texi
rules.mak