]> code.ossystems Code Review - openembedded-core.git/commitdiff
ed: remove infodir
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 2 Apr 2014 12:25:34 +0000 (12:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Apr 2014 10:49:43 +0000 (11:49 +0100)
* unlike 0.5 version, this doesn't use autotools.bbclass which removes infodir automatically
* fixes QA warning:
  ed-1.9: The /usr/share/info/dir file is not meant to be shipped in a particular package.

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/recipes-extended/ed/ed_1.9.bb

index 8ae99cc3e8156dc3e263b1c2d7fcf5704ef068a8..d1621548dc405e45a8ea61a5076672644f8c0bc9 100644 (file)
@@ -22,4 +22,8 @@ do_configure() {
 
 do_install() {
        oe_runmake 'DESTDIR=${D}' install
+       # Info dir listing isn't interesting at this point so remove it if it exists.
+       if [ -e "${D}${infodir}/dir" ]; then
+               rm -f ${D}${infodir}/dir
+       fi
 }