summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptpath.py
diff options
context:
space:
mode:
authorQuentin Schulz <foss@0leil.net>2020-10-04 15:12:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-04 10:55:01 +0000
commit47cb48f36e2c92cb8b2862bcb2901b338f964ef4 (patch)
treecdf86eecaba4a6409d0ef67869a2f05181c7d471 /scripts/lib/scriptpath.py
parent4030fd0f3c3439695949f09b6378278bdd9569bf (diff)
downloadpoky-47cb48f36e2c92cb8b2862bcb2901b338f964ef4.tar.gz
docs: sphinx: yocto-vars: rebuild files when poky.yaml has changed
poky.yaml changes aren't detected by Sphinx by default. In order to detect changes in poky.yaml, its md5sum is stored in the app.outdir (BUILDDIR/html when building html) and checked against the md5sum of the poky.yaml under use. If the md5sum has changed, find all rst files in app.srcdir that have at least an occurence of `&.*;` and mark them as requiring a rebuild. (From yocto-docs rev: 3816a23462ad9eafbf49d455d06e64638de8ea26) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 59537c7fa49e3ea6918f45b3201ad16d56988b9b) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions