summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-07-04 15:37:50 +0100
committerSaul Wold <sgw@linux.intel.com>2013-07-09 07:56:15 -0700
commit6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0 (patch)
treed16bccf40965d0e75a7e4cf73e22fdea801133ca
parent22cf4cc85fbe21a53ca4684b0b06b9af20b2ecc5 (diff)
downloadopenembedded-core-6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0.tar.gz
openembedded-core-6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0.tar.bz2
openembedded-core-6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0.zip
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/gtk-doc.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 4e0bd88002..fb7863e99b 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -7,7 +7,8 @@
# packages up any existing documentation (so from tarball builds).
# The documentation directory, where the infrastructure will be copied.
-GTKDOC_DOCDIR ?= "${B}"
+# 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"