2012-07-19 14:04:06 +00:00
|
|
|
# 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).
|
|
|
|
|
2013-01-21 12:15:33 +00:00
|
|
|
# The documentation directory, where the infrastructure will be copied.
|
2013-07-04 14:37:50 +00:00
|
|
|
# gtkdocize has a default of "." so to handle out-of-tree builds set this to $S.
|
|
|
|
GTKDOC_DOCDIR ?= "${S}"
|
2013-01-21 12:15:33 +00:00
|
|
|
|
2012-07-19 14:04:06 +00:00
|
|
|
DEPENDS_append = " gtk-doc-stub-native"
|
|
|
|
|
|
|
|
EXTRA_OECONF_append = "\
|
|
|
|
--disable-gtk-doc \
|
|
|
|
--disable-gtk-doc-html \
|
|
|
|
--disable-gtk-doc-pdf \
|
|
|
|
"
|
2012-07-20 15:55:46 +00:00
|
|
|
|
|
|
|
do_configure_prepend () {
|
2013-03-05 16:47:18 +00:00
|
|
|
( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} )
|
2012-07-20 15:55:46 +00:00
|
|
|
}
|