summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-02 12:03:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-02 16:56:24 +0000
commitd1ed18812394ffea9d90fc48f2d806df78a9e3e0 (patch)
treefa654ba680e93502b0d68f3710d6f544375a2961
parent95f13b16877a1606e9470567a3744ac133ebf621 (diff)
downloadopenembedded-core-d1ed18812394ffea9d90fc48f2d806df78a9e3e0.tar.gz
openembedded-core-d1ed18812394ffea9d90fc48f2d806df78a9e3e0.tar.bz2
openembedded-core-d1ed18812394ffea9d90fc48f2d806df78a9e3e0.tar.xz
openembedded-core-d1ed18812394ffea9d90fc48f2d806df78a9e3e0.zip
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>
-rw-r--r--meta/classes/autotools.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 9f2d77644..d43ae6d88 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -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