diff options
| -rw-r--r-- | meta/classes/gtk-doc.bbclass | 20 |
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 @@ | |||
| 1 | # We don't have gtk-doc so disable it | 1 | # Helper class to pull in the right gtk-doc dependencies and disable |
| 2 | do_configure_prepend() { | 2 | # gtk-doc. |
| 3 | echo "EXTRA_DIST=">> ${S}/gtk-doc.make | 3 | # |
| 4 | } | 4 | # Long-term it would be great if this class could be toggled between |
| 5 | # gtk-doc-stub-native and the real gtk-doc-native, which would enable | ||
| 6 | # re-generation of documentation. For now, we'll make do with this which | ||
| 7 | # packages up any existing documentation (so from tarball builds). | ||
| 8 | |||
| 9 | DEPENDS_append = " gtk-doc-stub-native" | ||
| 10 | DEPENDS_virtclass-native_append = " gtk-doc-stub-native" | ||
| 11 | |||
| 12 | EXTRA_OECONF_append = "\ | ||
| 13 | --disable-gtk-doc \ | ||
| 14 | --disable-gtk-doc-html \ | ||
| 15 | --disable-gtk-doc-pdf \ | ||
| 16 | " | ||
