generic-poky/meta/classes/gtk-doc.bbclass
Phil Blundell 2be7032d63 gtk-doc.bbclass: Run gtkdocize in ${S} not ${B}
Otherwise it will fail if these two directories are not the same.

(From OE-Core rev: 491823fdc65d124093f1fed5a56173917443e1d6)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18 12:13:47 +01:00

20 lines
561 B
Text

# 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"
EXTRA_OECONF_append = "\
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
"
do_configure_prepend () {
( cd ${S} && gtkdocize )
}