docbook-utils-native: Unbreak the build after source and build dir split
authorKhem Raj <raj.khem@gmail.com>
Mon, 25 Mar 2013 18:00:56 +0000 (11:00 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Mar 2013 20:51:19 +0000 (20:51 +0000)
commitdd14afc4d62365f1d2e282b7a2dde823261c2270
treec7b9a92c825d45b2195273003823b080533a5f5b
parent7360145dd235433bb628fdc2ff2d37db607c2ce4
docbook-utils-native: Unbreak the build after source and build dir split

docbook-utils-native started to install frontends and backends in
wrong locations after this change. The absolute build and source
directories were being created in install locations and the recipes
using docbook-utils-native were complaining like dbus-java is saying

| jw: There is no frontend called
"/b/kraj/jlinux-next/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/sgml/docbook/utils-0.6.14/frontends/docbook".
| make: *** [CreateInterface.1] Error 2
| ERROR: oe_runmake failed

Rightly so because now they are installed under
/b/kraj/jlinux-next/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/sgml/docbook/utils-0.6.14/b/kraj/jlinux-next/poky/build/tmp-eglibc/work/x86_64-linux/docbook-utils-native/0.6.14-r3/

This patch fixes the install to be like it was but consider
the build and sourcedir split.

(From OE-Core rev: d60aec3f5b319f4583fa72a8357b9ddd3be62b1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb