aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Edje.am
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-04-15 17:54:32 +0100
committerTom Hacohen <tom@stosb.com>2016-04-15 18:18:22 +0100
commitb337558fd673b88d3ae016f018dbab6f321150e1 (patch)
treeb8555471cbd8770eef77eead629da6ee093a4cfa /src/Makefile_Edje.am
parentElm test layout: Fix indentation. (diff)
downloadefl-b337558fd673b88d3ae016f018dbab6f321150e1.tar.gz
Edje tests: Fix tests when running out of source and remove hack.
There was a seriously horrible hack here to workaround this issue. This hacks goes all the way back to 3e07236. The essence of the hack was to try the system files for the tests (and I guess that's why we were shipping them although we really shouldn't). This change fixes the file lookup for out of source files. Hat-tip to zmike for pointing me to abs_top_buildir.
Diffstat (limited to 'src/Makefile_Edje.am')
-rw-r--r--src/Makefile_Edje.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 2bcf7d2e24..458a98ff67 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -276,7 +276,7 @@ tests/edje/edje_suite.h
tests_edje_edje_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
$(EDJE_COMMON_CPPFLAGS) \
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/edje\" \
--DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/edje\" \
+-DTESTS_BUILD_DIR=\"$(abs_top_builddir)/src/tests/edje\" \
@CHECK_CFLAGS@
tests_edje_edje_suite_LDADD = @CHECK_LIBS@ $(USE_EDJE_BIN_LIBS)
tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@