]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
change gtk-doc.bbclass to pull in depends and oeconf
authorRoss Burton <ross.burton@intel.com>
Thu, 19 Jul 2012 14:04:06 +0000 (15:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Jul 2012 10:42:16 +0000 (11:42 +0100)
(From OE-Core rev: 28dacc5a83ccf74f8f4895adb471af703d02259a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gtk-doc.bbclass

index 58daaf39e25d800cf35a6dec5250a7965f946516..603b1916a94c1983d2698058ccf0f966713f5c0c 100644 (file)
@@ -1,4 +1,16 @@
-# We don't have gtk-doc so disable it
-do_configure_prepend() {
-       echo "EXTRA_DIST=">> ${S}/gtk-doc.make
-}
+# Helper class to pull in the right gtk-doc dependencies and disable
+# gtk-doc.
+#
+# Long-term it would be great if this class could be toggled between
+# gtk-doc-stub-native and the real gtk-doc-native, which would enable
+# re-generation of documentation.  For now, we'll make do with this which
+# packages up any existing documentation (so from tarball builds).
+
+DEPENDS_append = " gtk-doc-stub-native"
+DEPENDS_virtclass-native_append = " gtk-doc-stub-native"
+
+EXTRA_OECONF_append = "\
+  --disable-gtk-doc \
+  --disable-gtk-doc-html \
+  --disable-gtk-doc-pdf \
+"