cpan.bbclass: Fail unless Makefile.PL generates Makefile
authorOlof Johansson <olof.johansson@axis.com>
Mon, 22 Jul 2013 09:35:47 +0000 (11:35 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jul 2013 12:08:59 +0000 (13:08 +0100)
commit3fa82171f12a32519e3d7ce4ba16009d1ca4b9f4
treedf4d5d25880614337af92b9efafeb392b487ed53
parent4c605b166a63f879ef71becdaad1bee0a0c769d0
cpan.bbclass: Fail unless Makefile.PL generates Makefile

Makefile.PLs can exit with success without generating a Makefile,
e.g. in cases of missing configure time dependencies. This is
considered a best practice by cpantesters.org. See:

 * http://wiki.cpantesters.org/wiki/CPANAuthorNotes
 * http://www.nntp.perl.org/group/perl.qa/2008/08/msg11236.html

(From OE-Core rev: 0a2dffefc6fbca37ce9604117cebc2f7d4abc1c6)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cpan.bbclass