[oe-commits] Martin Jansa : emacs: remove infodir

git at git.openembedded.org git at git.openembedded.org
Tue Apr 1 17:15:23 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 910b98c9024c852389ec5d09bbe58c11aff6b9a1
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=910b98c9024c852389ec5d09bbe58c11aff6b9a1

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Mar 31 13:39:17 2014 +0200

emacs: remove infodir

* doesn't use autotools.bbclass which removes infodir automatically
* fixes QA warning:
  emacs-23.4: 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>

---

 meta-oe/recipes-support/emacs/emacs.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/emacs/emacs.inc b/meta-oe/recipes-support/emacs/emacs.inc
index d7d281f..a1a4965 100644
--- a/meta-oe/recipes-support/emacs/emacs.inc
+++ b/meta-oe/recipes-support/emacs/emacs.inc
@@ -140,6 +140,10 @@ do_install_append() {
     # freaks package.bbclass and whole bitbake call returns error code
     # ERROR: runstrip: ''arm-oe-linux-gnueabi-strip'  '/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/emacs-23.4-r0/package/usr/share/emacs/23.4/etc/tutorials/TUTORIAL.ko'' strip command failed
     mv ${D}${datadir}/${BPN}/${PV}/etc/tutorials/TUTORIAL.ko ${D}${datadir}/${BPN}/${PV}/etc/tutorials/TUTORIAL.KO
+    # 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
 }
 
 EXTRA_OEMAKE += 'QEMU="${QEMU}"'



More information about the Openembedded-commits mailing list