summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-07-19 15:04:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-20 14:27:41 +0100
commit28dacc5a83ccf74f8f4895adb471af703d02259a (patch)
tree572c27896a155ed4baf876545d4ff0b08ac1c56d /meta
parentdd5d1104fde0418c18f9b18ab23837bf23e5b45b (diff)
downloadopenembedded-core-28dacc5a83ccf74f8f4895adb471af703d02259a.tar.gz
openembedded-core-28dacc5a83ccf74f8f4895adb471af703d02259a.tar.bz2
openembedded-core-28dacc5a83ccf74f8f4895adb471af703d02259a.zip
change gtk-doc.bbclass to pull in depends and oeconf
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/gtk-doc.bbclass20
1 files changed, 16 insertions, 4 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 58daaf39e2..603b1916a9 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -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 \
+"