[tracker] libtracker-extract: Don't install examples/ rules mock up



commit 82a01e0d3ab830d6ea20d66f69ea8584baff54e7
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Aug 3 10:41:58 2011 +0100

    libtracker-extract: Don't install examples/ rules mock up
    
    This was causing the MP3 extractor to be used even if the MP3 rules file was
    removed because the mockup uses a similar configuration

 configure.ac                            |    8 --------
 examples/libtracker-extract/Makefile.am |    7 +++++--
 2 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 09dbe00..e951e01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2130,14 +2130,6 @@ if test "x$enable_guarantee_metadata" != "xno"; then
   AC_DEFINE(GUARANTEE_METADATA, 1, [Guarantee existence of certain metadata])
 fi
 
-##################################################################
-# Check for tracker-extract: enable mockup extractor module?
-##################################################################
-
-have_mockup="no  (disabled)"
-
-AM_CONDITIONAL(HAVE_MOCKUP, test "x$have_mockup" = "xyes")
-
 ####################################################################
 # Check if we should use initctl or sysvinit
 ####################################################################
diff --git a/examples/libtracker-extract/Makefile.am b/examples/libtracker-extract/Makefile.am
index bba35a1..3b236ec 100644
--- a/examples/libtracker-extract/Makefile.am
+++ b/examples/libtracker-extract/Makefile.am
@@ -24,8 +24,11 @@ rules_in_files = 01-mockup.rule.in
 %.rule: %.rule.in
 	@sed -e "s|@modulesdir[ ]|${modulesdir}|" $< > $@
 
-rulesdir = $(datadir)/tracker/extract-rules
-rules_DATA = 01-mockup.rule
+# This is noinst_ only because it's an example, normally this would be
+# "rules" (for rules_DATA and rulesdir) or whatever name you want to
+# give for your rules files.
+noinstdir = $(datadir)/tracker/extract-rules
+noinst_DATA = 01-mockup.rule
 
 CLEANFILES = $(rules_DATA)
 



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