[Lunar-commits] <moonbase> gst-plugins-base: option for docs
Christian Krause
wookietreiber at lunar-linux.org
Tue Jul 19 11:57:14 CEST 2011
commit 2a586554dc5a6397dec077c9b083d0bb3db48255
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date: Tue Jul 19 11:57:14 2011 +0200
gst-plugins-base: option for docs
---
audio/gst-plugins-base/BUILD | 12 ++++++++++--
audio/gst-plugins-base/CONFIGURE | 1 +
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/audio/gst-plugins-base/BUILD b/audio/gst-plugins-base/BUILD
index 7c264c3..90092ba 100644
--- a/audio/gst-plugins-base/BUILD
+++ b/audio/gst-plugins-base/BUILD
@@ -7,9 +7,17 @@
--disable-debug \
--disable-examples"
+ if [ "`get_module_config DOCS`" = "n" ] ; then
+ sedit "/\tdocs\t\t\t\\\/d" Makefile.in
+ fi &&
+
default_config &&
- sedit 's: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html:' docs/libs/Makefile &&
- sedit 's: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html:' docs/plugins/Makefile &&
+
+ if [ "`get_module_config DOCS`" = "y" ] ; then
+ sedit 's: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html:' docs/libs/Makefile
+ sedit 's: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html: -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html:' docs/plugins/Makefile
+ fi &&
+
default_make
) > $C_FIFO 2>&1
diff --git a/audio/gst-plugins-base/CONFIGURE b/audio/gst-plugins-base/CONFIGURE
new file mode 100644
index 0000000..04b5a83
--- /dev/null
+++ b/audio/gst-plugins-base/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n
More information about the Lunar-commits
mailing list