[tracker/miner-web: 32/76] MAEMO: Install the Maemo ontology optionally and default off



commit 08fc6bc7d26f523b6bd586cfa5dcac3518b1a2ea
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Feb 25 12:17:28 2010 +0100

    MAEMO: Install the Maemo ontology optionally and default off

 configure.ac                |   13 +++++++++++++
 data/ontologies/Makefile.am |    7 +++++--
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e817d48..89d6b35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,6 +385,19 @@ fi
 
 AM_CONDITIONAL(HAVE_UNIT_TESTS, test "x$have_unit_tests" = "xyes")
 
+
+
+####################################################################
+# Should we install Maemo specific ontologies
+####################################################################
+
+AC_ARG_ENABLE(maemo,
+	      AS_HELP_STRING([--enable-maemo],
+			     [enable maemo ontology [[default=no]]]), ,
+	      [enable_maemo=no])
+
+AM_CONDITIONAL(HAVE_MAEMO, test "x$enable_maemo" = "xyes")
+
 ####################################################################
 # Use tagreadbin in gstreamer extraction?
 ####################################################################
diff --git a/data/ontologies/Makefile.am b/data/ontologies/Makefile.am
index b30dfab..925da00 100644
--- a/data/ontologies/Makefile.am
+++ b/data/ontologies/Makefile.am
@@ -20,8 +20,11 @@ config_DATA =			\
 	40-mlo.ontology		\
 	41-mfo.ontology		\
 	89-mtp.ontology		\
-	90-tracker.ontology	\
-	91-maemo.ontology	
+	90-tracker.ontology
+
+if HAVE_MAEMO
+config_DATA += 91-maemo.ontology	
+endif
 
 EXTRA_DIST = $(config_DATA)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]