autoconf: don't build the documentation
authorChris Larson <chris_larson@mentor.com>
Fri, 22 Oct 2010 18:14:57 +0000 (11:14 -0700)
committerChris Larson <chris_larson@mentor.com>
Mon, 8 Nov 2010 14:59:26 +0000 (07:59 -0700)
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@mentor.com>
recipes/autoconf/autoconf.inc

index fe12daf..79a8108 100644 (file)
@@ -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"