[evolution-data-server] tests: Use absolute paths for SRCDIR
- From: Mathias Hasselmann <hasselmm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] tests: Use absolute paths for SRCDIR
- Date: Thu, 6 Dec 2012 12:21:52 +0000 (UTC)
commit f58cb9ad89f21a32de87352e9c6342b80b700900
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 d40c2de..48d8b6c 100644
--- a/tests/libebook/Makefile.am
+++ b/tests/libebook/Makefile.am
@@ -13,7 +13,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 e47fbdb..a7568fa 100644
--- a/tests/libebook/client/Makefile.am
+++ b/tests/libebook/client/Makefile.am
@@ -8,7 +8,7 @@ libclient_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/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]