[oe-commits] Martin Jansa : ed: remove infodir
git at git.openembedded.org
git at git.openembedded.org
Fri Apr 4 13:12:14 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 205621e3b9358a455e73122941fbbdcde9b2f2a3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=205621e3b9358a455e73122941fbbdcde9b2f2a3
Author: Martin Jansa <martin.jansa at gmail.com>
Date: Wed Apr 2 12:25:34 2014 +0000
ed: remove infodir
* 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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/ed/ed_1.9.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/ed/ed_1.9.bb b/meta/recipes-extended/ed/ed_1.9.bb
index 8ae99cc..d162154 100644
--- a/meta/recipes-extended/ed/ed_1.9.bb
+++ b/meta/recipes-extended/ed/ed_1.9.bb
@@ -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
}
More information about the Openembedded-commits
mailing list