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.

(From OE-Core rev: 205621e3b9358a455e73122941fbbdcde9b2f2a3)

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>
This commit is contained in:
Martin Jansa 2014-04-02 12:25:34 +00:00 committed by Richard Purdie
parent 71bed6516a
commit c04e085bee
1 changed files with 4 additions and 0 deletions

View 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
}