autotools: copy also remove-potcdate.sin from ${STAGING_DATADIR_NATIVE}/gettext/po
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 12 Dec 2012 22:33:43 +0000 (23:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Dec 2012 17:24:55 +0000 (17:24 +0000)
commit6efc3a83ebea5d6c87cf8045ddd33aeb880f3573
tree665aa1f222d89afd2cc78db3459d56763524fe17
parent9ad842e819e36c5fda6c9b8be092ab8183940cbe
autotools: copy also remove-potcdate.sin from ${STAGING_DATADIR_NATIVE}/gettext/po

* some packages (e.g. uptime, cpu, forecasts, news from meta-efl)
  don't have remove-potcdate.sin in po subdirectory, but Makefile.in.in
  supplied by autotools.bbclass depends on it and fails without like this:
  | make[3]: Entering directory `/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/uptime/0.0.2+svnr80477-r0.0/E-MODULES-EXTRA/uptime/po'
  | make[3]: *** No rule to make target `remove-potcdate.sin', needed by `remove-potcdate.sed'.  Stop.
  | make[3]: Leaving directory `/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/uptime/0.0.2+svnr80477-r0.0/E-MODULES-EXTRA/uptime/po'
  | make[2]: *** [uptime.pot] Error 2

(From OE-Core rev: 5a3116638394dc72c54cf5d4f8bd42a7be0b1768)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass