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

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


commit 88cb7413ebb70a16bb4daf6b7e47cf14c86ca273
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Tue Jul 19 11:04:21 2011 +0200

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

diff --git a/devel/gobject-introspection/BUILD b/devel/gobject-introspection/BUILD
index ea9c120..8a75134 100644
--- a/devel/gobject-introspection/BUILD
+++ b/devel/gobject-introspection/BUILD
@@ -2,6 +2,10 @@
 
   OPTS+=" --disable-static --disable-tests "  &&
 
+  if [ "`get_module_config DOCS`" = "n" ] ; then
+    sedit 's/SUBDIRS = . docs tests/SUBDIRS = . tests/g' Makefile.in
+  fi  &&
+
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/devel/gobject-introspection/CONFIGURE b/devel/gobject-introspection/CONFIGURE
new file mode 100644
index 0000000..04b5a83
--- /dev/null
+++ b/devel/gobject-introspection/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n


More information about the Lunar-commits mailing list