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

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


commit 7c53ce7624bb3418bcd05d5129ae956ebb4efa19
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Tue Jul 19 11:39:59 2011 +0200

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

diff --git a/gnome2/bindings/pygobject/BUILD b/gnome2/bindings/pygobject/BUILD
index f0ab69a..56f5829 100644
--- a/gnome2/bindings/pygobject/BUILD
+++ b/gnome2/bindings/pygobject/BUILD
@@ -1,5 +1,9 @@
 (
 
+  if [ "`get_module_config DOCS`" = "n" ] ; then
+    sedit "s/SUBDIRS = docs codegen/SUBDIRS = codegen/g" Makefile.in
+  fi  &&
+
    ./configure  --prefix=${GNOME210_PREFIX:-/usr}  \
                 --build=$BUILD        \
                 --sysconfdir=/etc     \
diff --git a/gnome2/bindings/pygobject/CONFIGURE b/gnome2/bindings/pygobject/CONFIGURE
new file mode 100644
index 0000000..04b5a83
--- /dev/null
+++ b/gnome2/bindings/pygobject/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n


More information about the Lunar-commits mailing list