automake: use autotools_do_install
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 25 Jan 2013 19:42:50 +0000 (20:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Jan 2013 13:53:33 +0000 (13:53 +0000)
* autotools_do_install removes /info/dir when it exists, overwritting whole
  do_install prevented that, use do_install_append instead.

(From OE-Core rev: 5c2efbaad15a8430b4a02f3fcffd92578e1bb1a3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/automake/automake_1.12.6.bb

index 59bbdd8..549051b 100644 (file)
@@ -31,8 +31,7 @@ SRC_URI[sha256sum] = "0cbe570db487908e70af7119da85ba04f7e28656b26f717df0265ae08d
 
 PR = "r0"
 
-do_install () {
-    oe_runmake 'DESTDIR=${D}' install
+do_install_append () {
     install -d ${D}${datadir}
 
     # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location