summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2014-02-24 15:51:18 +0000
committerMartyn Russell <martyn@lanedo.com>2014-02-25 10:13:31 +0000
commit7a583997a0fe8355f75cd1fa0995866ec6e18dec (patch)
tree4a289ce17f27c2ad826365a0bdc9256605c19ed2 /examples
parentd582ac2b12ae13b2cabae5722c89ca30b0cfa899 (diff)
downloadtracker-7a583997a0fe8355f75cd1fa0995866ec6e18dec.tar.gz
libtracker-extract: Don't break compilation due to missing rules/modules dir
Diffstat (limited to 'examples')
-rw-r--r--examples/libtracker-extract/01-mockup.rule (renamed from examples/libtracker-extract/01-mockup.rule.in)0
-rw-r--r--examples/libtracker-extract/Makefile.am14
2 files changed, 5 insertions, 9 deletions
diff --git a/examples/libtracker-extract/01-mockup.rule.in b/examples/libtracker-extract/01-mockup.rule
index 31d56b561..31d56b561 100644
--- a/examples/libtracker-extract/01-mockup.rule.in
+++ b/examples/libtracker-extract/01-mockup.rule
diff --git a/examples/libtracker-extract/Makefile.am b/examples/libtracker-extract/Makefile.am
index cc2e80f64..a632727ae 100644
--- a/examples/libtracker-extract/Makefile.am
+++ b/examples/libtracker-extract/Makefile.am
@@ -16,17 +16,13 @@ libextract_mockup_la_LIBADD = \
$(BUILD_LIBS) \
$(LIBTRACKER_EXTRACT_LIBS)
-rules_in_files = 01-mockup.rule.in
-
-%.rule: %.rule.in
- @sed -e "s|@extractmodulesdir[@]|${extractmodulesdir}|" $< > $@
-
# 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 = $(extractrulesdir)
+#
+# _RULES_DIR = $(datadir)/tracker/extract-rules
+#
+noinstdir = $(TRACKER_EXTRACT_RULES_DIR)
noinst_DATA = 01-mockup.rule
-CLEANFILES = $(noinst_DATA)
-
-EXTRA_DIST = $(rules_in_files)
+EXTRA_DIST = $(noinst_DATA)