autotools.bbclass: Drop info directory listings as they're going to be broken if generated at this point and cause file conflicts

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-02-02 12:03:30 +00:00
parent 95f13b1687
commit d1ed188123
1 changed files with 4 additions and 0 deletions

View File

@ -158,6 +158,10 @@ autotools_do_configure() {
autotools_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
}
inherit siteconfig