Patchwork [04/14] autoconf: remove emacs mode files to fix warnings

login
register
mail settings
Submitter Saul Wold
Date March 14, 2012, 8:33 a.m.
Message ID <abbad3e5e799c7cda5543a48d68fdd0a7a642b96.1331713807.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/23241/
State Accepted
Commit abbad3e5e799c7cda5543a48d68fdd0a7a642b96
Headers show

Comments

Saul Wold - March 14, 2012, 8:33 a.m.
WARNING: For recipe autoconf, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/emacs
WARNING:   /usr/share/emacs/site-lisp
WARNING:   /usr/share/emacs/site-lisp/autotest-mode.elc
WARNING:   /usr/share/emacs/site-lisp/autotest-mode.el
WARNING:   /usr/share/emacs/site-lisp/autoconf-mode.el
WARNING:   /usr/share/emacs/site-lisp/autoconf-mode.elc
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/autoconf/autoconf.inc     |    4 ++++
 meta/recipes-devtools/autoconf/autoconf_2.68.bb |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
index e7ae339..80a5d92 100644
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ b/meta/recipes-devtools/autoconf/autoconf.inc
@@ -16,3 +16,7 @@  SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
 	   file://program_prefix.patch"
 
 inherit autotools
+
+do_install_append() {
+	rm -rf ${D}${datadir}/emacs
+} 
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.68.bb b/meta/recipes-devtools/autoconf/autoconf_2.68.bb
index 63db7d1..f1b506a 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.68.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.68.bb
@@ -1,6 +1,6 @@ 
 require autoconf.inc
 
-PR = "r5"
+PR = "r6"
 
 PARALLEL_MAKE = ""