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

Christian Krause wookietreiber at lunar-linux.org
Tue Jul 19 12:03:15 CEST 2011


commit da550d59d7d27c2c13941bd933839e18061cbe6e
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Tue Jul 19 12:03:15 2011 +0200

    poppler: option for docs
---
 libs/poppler/BUILD     |    4 ++++
 libs/poppler/CONFIGURE |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/libs/poppler/BUILD b/libs/poppler/BUILD
index 1156e54..2a1c73c 100644
--- a/libs/poppler/BUILD
+++ b/libs/poppler/BUILD
@@ -6,6 +6,10 @@
     . /etc/profile.d/qt4.rc
   fi &&
 
+  if [ "`get_module_config DOCS`" = "n" ] ; then
+    sedit "s/SUBDIRS = . reference demo/SUBDIRS = . demo/g" glib/Makefile.in
+  fi  &&
+
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/libs/poppler/CONFIGURE b/libs/poppler/CONFIGURE
index 930533a..b91de8b 100644
--- a/libs/poppler/CONFIGURE
+++ b/libs/poppler/CONFIGURE
@@ -17,3 +17,5 @@ mquery UTILS       "Build command line utils?"       \
                    n                                 \
                    "--enable-utils"                  \
                    "--disable-utils"
+
+mquery DOCS "Build docs?" n


More information about the Lunar-commits mailing list