[Lunar-commits] <moonbase> komd: do not break build when docbook-xml not installed

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Feb 5 19:56:49 CET 2012


commit 11ce23533faf1c9a8a6d26a88d33c1fefd39ea6a
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Feb 5 19:56:49 2012 +0100

    komd: do not break build when docbook-xml not installed
---
 kernel/kmod/BUILD |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/kernel/kmod/BUILD b/kernel/kmod/BUILD
index 24efba4..3504217 100644
--- a/kernel/kmod/BUILD
+++ b/kernel/kmod/BUILD
@@ -1,5 +1,10 @@
 (
 
+  if ! module_installed docbook-xml; then
+     sedit '/man\/Makefile/d' configure.ac
+     sedit 's/man//' Makefile.am
+  fi &&
+
   sedit "s:/usr::" autogen.sh  &&
   sedit "s:\$(libdir)/pkgconfig:/usr/lib/pkgconfig:" Makefile.am  &&
 


More information about the Lunar-commits mailing list