]> code.ossystems Code Review - openembedded-core.git/commitdiff
staging: add ${datadir}/gtk-doc/html to the sysroot blacklist
authorRoss Burton <ross.burton@intel.com>
Mon, 29 Apr 2019 14:55:11 +0000 (15:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2019 22:24:35 +0000 (23:24 +0100)
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 <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass

index 062b2817c886b49e8c62e7ae5c662564fce8cd00..6bcd0b087a0049a78b21d2df718d89c4a7a2dc18 100644 (file)
@@ -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 \
 "