[evolution-data-server/openismus-work: 85/122] tests: Use absolute paths for SRCDIR
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work: 85/122] tests: Use absolute paths for SRCDIR
- Date: Mon, 17 Dec 2012 09:10:27 +0000 (UTC)
commit c581590f2de369087657f05e1afee00c66820fe5
Author: Mathias Hasselmann <mathias openismus com>
Date: Thu Dec 6 13:19:30 2012 +0100
tests: Use absolute paths for SRCDIR
That way a few tests can be run from top_builddir, instead of their builddir.
tests/libebook/Makefile.am | 2 +-
tests/libebook/client/Makefile.am | 2 +-
tests/libecal/client/Makefile.am | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/libebook/Makefile.am b/tests/libebook/Makefile.am
index e3fdec1..7abb0b9 100644
--- a/tests/libebook/Makefile.am
+++ b/tests/libebook/Makefile.am
@@ -33,7 +33,7 @@ libebook_test_utils_la_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/addressbook \
-I$(top_builddir)/addressbook \
- -DSRCDIR=\""$(srcdir)"\" \
+ -DSRCDIR=\""$(abs_srcdir)"\" \
$(EVOLUTION_ADDRESSBOOK_CFLAGS) \
$(CAMEL_CFLAGS) \
$(NULL)
diff --git a/tests/libebook/client/Makefile.am b/tests/libebook/client/Makefile.am
index 600b93f..83900de 100644
--- a/tests/libebook/client/Makefile.am
+++ b/tests/libebook/client/Makefile.am
@@ -9,7 +9,7 @@ libclient_test_utils_la_CPPFLAGS = \
-I$(top_srcdir)/addressbook \
-I$(top_builddir)/addressbook \
-DBACKENDDIR=\"$(ebook_backenddir)\" \
- -DSRCDIR=\""$(srcdir)"\" \
+ -DSRCDIR=\""$(abs_srcdir)"\" \
$(EVOLUTION_ADDRESSBOOK_CFLAGS) \
$(CAMEL_CFLAGS) \
$(NULL)
diff --git a/tests/libecal/client/Makefile.am b/tests/libecal/client/Makefile.am
index a3f986b..1fa8ddc 100644
--- a/tests/libecal/client/Makefile.am
+++ b/tests/libecal/client/Makefile.am
@@ -8,7 +8,7 @@ libclient_test_utils_la_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/calendar \
-I$(top_builddir)/calendar \
- -DSRCDIR=\""$(srcdir)"\" \
+ -DSRCDIR=\""$(abs_srcdir)"\" \
$(EVOLUTION_CALENDAR_CFLAGS) \
$(CAMEL_CFLAGS) \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]