Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gtkdoc: set the default docdir to ${S}, not ${B}
@ 2013-07-04 14:37 Ross Burton
  0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2013-07-04 14:37 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/classes/gtk-doc.bbclass |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 4e0bd88..fb7863e 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"
 
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-04 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-04 14:37 [PATCH] gtkdoc: set the default docdir to ${S}, not ${B} Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox