staging: add ${datadir}/gtk-doc/html to the sysroot blacklist
PATCH 1/1 staging: add ${datadir}/gtk-doc/html to the sysroot blacklist
When api-documentation is enabled the GNOME stack builds API documentation. As ${datadir} is in SYSROOT_DIRS this documentation is in the sysroot but is never used, wasting time and space.
Add ${datadir}/gtk-doc/html to the blacklist so that the generated documentation isn't in the sysroot. Note that we don't blacklist all of ${datadir}/gtk-doc because gtk-doc itself installs files there which are needed to use gtk-doc.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes/staging.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/staging.bbclass +2 -1
@@ -27,9 +27,10 @@ SYSROOT_DIRS_BLACKLIST = " \ ${mandir} \ ${docdir} \ ${infodir} \ - ${datadir}/locale \ ${datadir}/applications \ ${datadir}/fonts \ + ${datadir}/gtk-doc/html \ + ${datadir}/locale \ ${datadir}/pixmaps \ ${libdir}/${PN}/ptest \ "
Signature · 1 line
2.11.0