autotools: Enhance gettext handling to better work with SCM versions of code
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Oct 2011 13:24:35 +0000 (14:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Oct 2011 12:18:05 +0000 (13:18 +0100)
commit4c1c5d742ffdca4ce565cafe9107e696efbfd923
tree01e780d287f7777168f3ed676e4f9944f520a3bf
parent75e4417605d980a5ddba6fa141ebc5f0b5bde34d
autotools: Enhance gettext handling to better work with SCM versions of code

If we pull SCM based code using gettext, Makefile.in.in in the
po directory can be missing. We therefore need to add this if
its not already present. We could use gettextize if it wasn't
so broken (for example requiring user input on stdin and installing
way more files that we ever care about such as the m4 files).

We also have a problem if a recipe sets a different AUX dir, for
now fix this by allowing recipes to specify when this is being done
using the AUTOTOOLS_AUXDIR variable. Ultimately we could likely
figure this out automatically.

(From OE-Core rev: acaefad1aa4b45813a004e0cd1d85bc013e435f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass