generic-poky/meta/classes/gtk-doc.bbclass
Ross Burton 9190cfd0a3 gtkdoc: set the default docdir to ${S}, not ${B}
Previously these directories were the same location, but with
seperatebuilddir.inc they are not and putting the file into ${B} means it goes
to the wrong place for autoreconf.

(From OE-Core rev: 6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:42:01 +01:00

24 lines
763 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).
# The documentation directory, where the infrastructure will be copied.
# gtkdocize has a default of "." so to handle out-of-tree builds set this to $S.
GTKDOC_DOCDIR ?= "${S}"
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 --docdir ${GTKDOC_DOCDIR} )
}