Patchwork [3/7] automake: use autotools_do_install

login
register
mail settings
Submitter Martin Jansa
Date Jan. 25, 2013, 7:42 p.m.
Message ID <17dd664946bf38c14aeca2af0e6d988a46f70d35.1359142768.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/43415/
State Accepted
Commit e1c56ee9720014a13515493ac1d77f43ea31bfa1
Headers show

Comments

Martin Jansa - Jan. 25, 2013, 7:42 p.m.
* autotools_do_install removes /info/dir when it exists, overwritting whole
  do_install prevented that, use do_install_append instead.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/automake/automake_1.12.6.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-devtools/automake/automake_1.12.6.bb b/meta/recipes-devtools/automake/automake_1.12.6.bb
index 59bbdd8..549051b 100644
--- a/meta/recipes-devtools/automake/automake_1.12.6.bb
+++ b/meta/recipes-devtools/automake/automake_1.12.6.bb
@@ -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