lzip: remove infodir
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 31 Mar 2014 11:38:11 +0000 (13:38 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:36:48 +0000 (08:36 -0800)
* doesn't use autotools.bbclass which removes infodir automatically
* fixes QA warning:
  lzip-1.14: The /usr/share/info/dir file is not meant to be shipped in a particular package.

(From meta-openembedded rev: ddc70af341fe77c114b17bcf6d4f3f01fa5cb7eb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/lzip/lzip_1.14.bb

index 8b4a3fb..3d8c090 100644 (file)
@@ -35,6 +35,10 @@ 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
 }
 
 BBCLASSEXTEND += "native nativesdk"