summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-11 03:57:29 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-11 03:57:29 +0000
commitf8fde3d5606713f4625b9d18e9ce50de86b2166b (patch)
treeb5754729d9fd0cac3d036c435ddbc06024be3abe /src/bin
parentf0a0fd7f4e44381068c042e9487dd54a030b86b9 (diff)
efl: fix out-of-tree build of examples.
edje and embryo include files are in source dir, not build. codegen example must have dependency to build in correct order :-/ SVN revision: 82605
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/edje/edje_cc_out.c2
-rw-r--r--src/bin/embryo/embryo_cc_sc1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index bdd213bfc8..e3dd3d76d5 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1294,7 +1294,7 @@ data_write_scripts(Eet_File *ef)
1294 "%s/src/bin/embryo/embryo_cc" BIN_EXT, 1294 "%s/src/bin/embryo/embryo_cc" BIN_EXT,
1295 PACKAGE_BUILD_DIR); 1295 PACKAGE_BUILD_DIR);
1296 snprintf(inc_path, sizeof(inc_path), 1296 snprintf(inc_path, sizeof(inc_path),
1297 "%s/data/edje/include", PACKAGE_BUILD_DIR); 1297 "%s/data/edje/include", PACKAGE_SRC_DIR);
1298 if (!ecore_file_exists(embryo_cc_path)) 1298 if (!ecore_file_exists(embryo_cc_path))
1299 embryo_cc_path[0] = '\0'; 1299 embryo_cc_path[0] = '\0';
1300 } 1300 }
diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c
index f941041182..c8d534b47d 100644
--- a/src/bin/embryo/embryo_cc_sc1.c
+++ b/src/bin/embryo/embryo_cc_sc1.c
@@ -583,7 +583,7 @@ parseoptions(int argc, char **argv, char *iname, char *oname,
583 if (getenv("EFL_RUN_IN_TREE")) 583 if (getenv("EFL_RUN_IN_TREE"))
584 { 584 {
585 struct stat st; 585 struct stat st;
586 snprintf(str, sizeof(str), "%s/data/embryo/", PACKAGE_BUILD_DIR); 586 snprintf(str, sizeof(str), "%s/data/embryo/", PACKAGE_SRC_DIR);
587 if (stat(str, &st) != 0) 587 if (stat(str, &st) != 0)
588 str[0] = '\0'; 588 str[0] = '\0';
589 } 589 }