Patchwork gtk-doc.bbclass: Run gtkdocize in ${S} not ${B}

login
register
mail settings
Submitter Phil Blundell
Date Oct. 11, 2012, 9:30 p.m.
Message ID <1349991029.4470.74.camel@x121e.pbcl.net>
Download mbox | patch
Permalink /patch/38101/
State Accepted
Commit 491823fdc65d124093f1fed5a56173917443e1d6
Headers show

Comments

Phil Blundell - Oct. 11, 2012, 9:30 p.m.
Otherwise it will fail if these two directories are not the same.

Signed-off-by: Phil Blundell <pb@pbcl.net>
---
 meta/classes/gtk-doc.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Saul Wold - Oct. 18, 2012, 8:19 p.m.
On 10/11/2012 02:30 PM, Phil Blundell wrote:
> Otherwise it will fail if these two directories are not the same.
>
> Signed-off-by: Phil Blundell <pb@pbcl.net>
> ---
>   meta/classes/gtk-doc.bbclass |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
> index 59063b0..eaa1385 100644
> --- a/meta/classes/gtk-doc.bbclass
> +++ b/meta/classes/gtk-doc.bbclass
> @@ -15,5 +15,5 @@ EXTRA_OECONF_append = "\
>   "
>
>   do_configure_prepend () {
> -	gtkdocize
> +	( cd ${S} && gtkdocize )
>   }
>
Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 59063b0..eaa1385 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -15,5 +15,5 @@  EXTRA_OECONF_append = "\
 "
 
 do_configure_prepend () {
-	gtkdocize
+	( cd ${S} && gtkdocize )
 }