summaryrefslogtreecommitdiff
path: root/meta/classes/gtk-doc.bbclass
blob: 8a312f5b2f7612367396cf247c4a9472dceb0908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 \
"

do_configure_prepend () {
	gtkdocize
}