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

Christian Krause wookietreiber at lunar-linux.org
Tue Jul 19 10:55:56 CEST 2011


commit b1b9b2859b282245e62958e12bd686a8dd68f4e4
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Tue Jul 19 10:55:56 2011 +0200

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

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


More information about the Lunar-commits mailing list