[oe-commits] Chris Larson : autoconf: don't build the documentation

git version control git at git.openembedded.org
Mon Nov 8 15:07:02 UTC 2010


Module: openembedded.git
Branch: master
Commit: b1b0006059a6c8e9cf06fc14f2b4cb46736fb822
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b1b0006059a6c8e9cf06fc14f2b4cb46736fb822

Author: Chris Larson <chris_larson at mentor.com>
Date:   Fri Oct 22 11:14:57 2010 -0700

autoconf: don't build the documentation

This kills one of the dependencies upon help2man.  In the future, will switch
this to be driven by a documentation feature in DISTRO_FEATURES.

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 recipes/autoconf/autoconf.inc |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc
index fe12daf..79a8108 100644
--- a/recipes/autoconf/autoconf.inc
+++ b/recipes/autoconf/autoconf.inc
@@ -8,13 +8,16 @@ RDEPENDS_${PN} = "m4 perl gnu-config"
 DEPENDS_virtclass-native = "m4-native gnu-config-native"
 RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
 
-INC_PR = "r9"
+INC_PR = "r10"
 
 SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2;name=autoconf \
 	   file://program_prefix.patch"
 
 inherit autotools
 
+# Excluded: tests man doc
+SUBDIRS = "bin . lib"
+
 do_configure_prepend () {
 	if ${@['true', 'false'][bb.data.inherits_class('native', d)]}
 	then
@@ -24,5 +27,10 @@ do_configure_prepend () {
 	fi
 }
 
+do_compile () {
+	sed -i -e's,^SUBDIRS = .*,SUBDIRS = ${SUBDIRS},' Makefile
+	oe_runmake
+}
+
 PARALLEL_MAKE = ""
 BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list