summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-01-21 12:15:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-21 12:44:54 +0000
commit779d915c7de0fa53684ec0353f569f24ab67e749 (patch)
tree4da3fd673e53173f6f90fe4dfeb4f8fd89c42a6d
parent600ea90263fee72cedea8712d535372fc96fdc13 (diff)
downloadpoky-779d915c7de0fa53684ec0353f569f24ab67e749.tar.gz
gtk-doc: parameterise the documentation directory
Not every package puts the gtk-doc infrastructure into ${S}, so allow this to be overridden. (From OE-Core rev: 40353c9ef83f986a0d49cc6eb654b3ace6ef4dc4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/gtk-doc.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index eaa1385d9d..f7ba78847a 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -6,6 +6,9 @@
6# re-generation of documentation. For now, we'll make do with this which 6# re-generation of documentation. For now, we'll make do with this which
7# packages up any existing documentation (so from tarball builds). 7# packages up any existing documentation (so from tarball builds).
8 8
9# The documentation directory, where the infrastructure will be copied.
10GTKDOC_DOCDIR ?= "${S}"
11
9DEPENDS_append = " gtk-doc-stub-native" 12DEPENDS_append = " gtk-doc-stub-native"
10 13
11EXTRA_OECONF_append = "\ 14EXTRA_OECONF_append = "\
@@ -15,5 +18,5 @@ EXTRA_OECONF_append = "\
15" 18"
16 19
17do_configure_prepend () { 20do_configure_prepend () {
18 ( cd ${S} && gtkdocize ) 21 gtkdocize --docdir ${GTKDOC_DOCDIR}
19} 22}