diff options
author | Ross Burton <ross.burton@intel.com> | 2013-01-21 12:15:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-21 12:44:00 +0000 |
commit | 40353c9ef83f986a0d49cc6eb654b3ace6ef4dc4 (patch) | |
tree | e50c51aa1e32d0da6bb220ccccdd91d4e8a833e1 /meta/classes/gtk-doc.bbclass | |
parent | b1d8187f66d9646a53928fe288085f4605bc43ef (diff) | |
download | openembedded-core-contrib-40353c9ef83f986a0d49cc6eb654b3ace6ef4dc4.tar.gz |
gtk-doc: parameterise the documentation directory
Not every package puts the gtk-doc infrastructure into ${S}, so allow this to be
overridden.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-doc.bbclass')
-rw-r--r-- | meta/classes/gtk-doc.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index eaa1385d9d8..f7ba78847a6 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclass @@ -6,6 +6,9 @@ # 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. +GTKDOC_DOCDIR ?= "${S}" + DEPENDS_append = " gtk-doc-stub-native" EXTRA_OECONF_append = "\ @@ -15,5 +18,5 @@ EXTRA_OECONF_append = "\ " do_configure_prepend () { - ( cd ${S} && gtkdocize ) + gtkdocize --docdir ${GTKDOC_DOCDIR} } |