doc: rebuild with meson whenever a file changes
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 10 Jan 2020 21:52:04 +0000 (21:52 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 15 Jan 2020 07:50:28 +0000 (08:50 +0100)
commitf5ab2074cfba1fa9287269aec08358c29799bc13
tree6b040d0ddd62c6297672b82c2882c1f7b1990e71
parentaffc17c821e37e53d786a1d0b7c179f533684ac1
doc: rebuild with meson whenever a file changes

Add proper support for calling sphinx whenever a file in the doc
directory changes. This is accomplished by using a wrapper script
for sphinx, which runs sphinx but also emits a gcc-format dependency
file listing all the doc files. This is used by ninja so that any
change to the doc files triggers a rebuild of the docs.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
MAINTAINERS
buildtools/call-sphinx-build.py [new file with mode: 0755]
buildtools/meson.build
doc/guides/meson.build