]> code.ossystems Code Review - openembedded-core.git/commit
gettext-minimal-native: use MKIDR_P in Makefile.in.in
authorWenzong Fan <wenzong.fan@windriver.com>
Fri, 3 Jul 2015 08:08:45 +0000 (16:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 14:08:42 +0000 (15:08 +0100)
commitf374ed441627ac833aab62c1189a16ea26a4933b
treeaf37f92d757f767c74ac9b3c2e016f9d43fe776d
parent7c92e64834af8f578b5cfc3cfe33c13bb8a89754
gettext-minimal-native: use MKIDR_P in Makefile.in.in

The Makefile.in.in provided by gettext-minimal-native will be copied
to many packages that need gettext to produce multi-lingual messages.

Replace mkdir_p with MKDIR_P to fix below errors from those packages'
install logs:

  /bin/sh: 6: @mkdir_p@: not found
  /usr/bin/install: cannot create regular file 'xxx'

As automake manual:

From Automake 1.8 to 1.9.6 AM_PROG_MKDIR_P used to define the output
variable mkdir_p to one of mkdir -p, install-sh -d, or mkinstalldirs.

Nowadays Autoconf provides a similar functionality with AC_PROG_MKDIR_P,
it will set output variable MKDIR_P.

Automake manual advises to switch ASAP to the more modern Autoconf-provided
interface instead; both the macro and the variable have been removed from
Automake 1.12.1 and later releases.

Signe-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/gettext/gettext-minimal-0.19.4/Makefile.in.in