[Lunar-commits] <moonbase> liboil: option for docs

Christian Krause wookietreiber at lunar-linux.org
Tue Jul 19 11:08:03 CEST 2011


commit 923aa4d49952211e149aece0514f61c12d9234a2
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Tue Jul 19 11:08:03 2011 +0200

    liboil: option for docs
---
 libs/liboil/BUILD     |    4 ++++
 libs/liboil/CONFIGURE |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/libs/liboil/BUILD b/libs/liboil/BUILD
index e2fbd21..d305d1b 100644
--- a/libs/liboil/BUILD
+++ b/libs/liboil/BUILD
@@ -2,6 +2,10 @@
 
   OPTS+=" --disable-static" &&
 
+  if [ "`get_module_config DOCS`" = "n" ] ; then
+    sedit "s/SUBDIRS = liboil testsuite examples doc/SUBDIRS = liboil testsuite examples/g" Makefile.in
+  fi  &&
+
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/libs/liboil/CONFIGURE b/libs/liboil/CONFIGURE
new file mode 100644
index 0000000..04b5a83
--- /dev/null
+++ b/libs/liboil/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n


More information about the Lunar-commits mailing list