summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-doc.bbclass
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 01:05:19 (GMT)
committerTudor Florea <tudor.florea@enea.com>2014-10-16 01:05:19 (GMT)
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/classes/gtk-doc.bbclass
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/gtk-doc.bbclass')
-rw-r--r--meta/classes/gtk-doc.bbclass23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
new file mode 100644
index 0000000..fb7863e
--- /dev/null
+++ b/meta/classes/gtk-doc.bbclass
@@ -0,0 +1,23 @@
1# Helper class to pull in the right gtk-doc dependencies and disable
2# gtk-doc.
3#
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# The documentation directory, where the infrastructure will be copied.
10# gtkdocize has a default of "." so to handle out-of-tree builds set this to $S.
11GTKDOC_DOCDIR ?= "${S}"
12
13DEPENDS_append = " gtk-doc-stub-native"
14
15EXTRA_OECONF_append = "\
16 --disable-gtk-doc \
17 --disable-gtk-doc-html \
18 --disable-gtk-doc-pdf \
19"
20
21do_configure_prepend () {
22 ( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} )
23}