summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2010-05-13 15:30:27 +0200
committerAleksander Morgado <aleksander@lanedo.com>2010-05-14 12:57:49 +0200
commit22b899e2b7a0a7d6fc7bdd1ffe7b94c97dffb018 (patch)
treeee1aeb9480f6b5c866544018e4e003ff7875e5dd /examples
parenta4c6c4b685a087851b9312e43de3c0997ff52448 (diff)
downloadtracker-22b899e2b7a0a7d6fc7bdd1ffe7b94c97dffb018.tar.gz
Several modifications in the build structure, including VPATH builds
* Also fixed GB#616808: The user can now rebuild PNG files from the sources in the distribution tarball. And PNG files are only removed in make maintainerclean. * Same for the ontology XML files, they can now be rebuilt from the sources in the distribution tarball, and will only be removed in make maintainerclean. * Support for VPATH builds, where $(srcdir) != $(builddir)
Diffstat (limited to 'examples')
-rw-r--r--examples/libtracker-extract/Makefile.am2
-rw-r--r--examples/libtracker-miner/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/libtracker-extract/Makefile.am b/examples/libtracker-extract/Makefile.am
index dbf9236ad..604a60f24 100644
--- a/examples/libtracker-extract/Makefile.am
+++ b/examples/libtracker-extract/Makefile.am
@@ -5,6 +5,8 @@ modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/extract-modules
INCLUDES = \
-I$(top_srcdir)/src \
+ -I$(top_builddir)/src \
+ -I$(top_builddir)/src/libtracker-client \
$(WARN_CFLAGS) \
$(GLIB2_CFLAGS) \
$(GCOV_CFLAGS)
diff --git a/examples/libtracker-miner/Makefile.am b/examples/libtracker-miner/Makefile.am
index 72300ed1a..9bac04884 100644
--- a/examples/libtracker-miner/Makefile.am
+++ b/examples/libtracker-miner/Makefile.am
@@ -5,6 +5,8 @@ INCLUDES = \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
+ -I$(top_builddir)/src \
+ -I$(top_builddir)/src/libtracker-client \
$(WARN_CFLAGS) \
$(GLIB2_CFLAGS) \
$(GCOV_CFLAGS) \