From 3ccb9b3f54dbdde10eee6f519d1a6ed82745e9ff Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@openembedded.org>
Date: Tue, 18 Nov 2008 01:15:51 +0100
Subject: module-init-tools: not all people have a working docbook2man (debian
 has), so disable man page generation

---
 packages/module-init-tools/module-init-tools_3.4.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/packages/module-init-tools/module-init-tools_3.4.bb b/packages/module-init-tools/module-init-tools_3.4.bb
index 0f21d1f279..caea00d194 100644
--- a/packages/module-init-tools/module-init-tools_3.4.bb
+++ b/packages/module-init-tools/module-init-tools_3.4.bb
@@ -4,6 +4,8 @@ the same function that the modutils package serves for Linux 2.4."
 LICENSE = "GPL"
 SECTION = "base"
 
+PR = "r1"
+
 PACKAGES =+ "module-init-tools-insmod-static module-init-tools-depmod"
 RDEPENDS_${PN} += "module-init-tools-depmod"
 
@@ -22,6 +24,10 @@ sbindir = "/sbin"
 
 inherit autotools
 
+do_configure_prepend() {
+	sed -i -e /MAN5\ =/d -e /MAN8\ =/d Makefile.am 
+}
+
 do_install() {
 	autotools_do_install
 	for f in bin/lsmod sbin/insmod sbin/rmmod sbin/modprobe sbin/modinfo sbin/depmod; do
-- 
cgit v1.2.3