[Lunar-commits] <moonbase> glib-2: making docs an option
Duncan Gibson
engelsman at lunar-linux.org
Mon Apr 25 16:28:05 CEST 2011
commit 9bf12275363e78c223feb32df0f641c7200d1673
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date: Mon Apr 25 16:28:05 2011 +0200
glib-2: making docs an option
---
libs/glib-2/BUILD | 5 +++++
libs/glib-2/CONFIGURE | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/libs/glib-2/BUILD b/libs/glib-2/BUILD
index 8560069..1ff16fe 100644
--- a/libs/glib-2/BUILD
+++ b/libs/glib-2/BUILD
@@ -3,6 +3,11 @@
# Do not remove --enable-debug=minimum, it will break some common
# API functions if debug is entirely disabled
export OPTS+=" --disable-static --enable-shared --enable-debug=minimum" &&
+
+ if [ "`get_module_config DOCS`" = "n" ] ; then
+ sedit "s/SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po docs/SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po/g" Makefile.in
+ fi &&
+
default_build
) > $C_FIFO 2>&1
diff --git a/libs/glib-2/CONFIGURE b/libs/glib-2/CONFIGURE
new file mode 100644
index 0000000..04b5a83
--- /dev/null
+++ b/libs/glib-2/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n
More information about the Lunar-commits
mailing list