aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Edje.am
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-10-06 11:32:25 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-10-06 13:28:09 +0100
commitf33101ea8cd7564aaf1f30c3280110c9c1f8d46d (patch)
tree7506ee821f4d1b9d23a3f2d9bb18d9df66cb75ab /src/Makefile_Edje.am
parentautotools: fix elua helper eo target (diff)
downloadefl-f33101ea8cd7564aaf1f30c3280110c9c1f8d46d.tar.gz
elua/autotools: generate .eo.lua files out of all eo files at build time
Also change the generator a bit so that it doesn't rely on lib name information and fix the runtime to properly source lua files within tree.
Diffstat (limited to 'src/Makefile_Edje.am')
-rw-r--r--src/Makefile_Edje.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index c92372f186..e7cc6dd63a 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -281,3 +281,16 @@ CLEANFILES += tests/edje/data/test_layout.edj \
endif
EXTRA_DIST += $(EDJE_DATA_FILES)
+
+if HAVE_ELUA
+
+edje_eolian_lua = $(edje_eolian_files:%.eo=%.eo.lua)
+
+generated_edje_lua_all = $(edje_eolian_lua)
+
+CLEANFILES += $(generated_edje_lua_all)
+
+installed_edjeluadir = $(datadir)/elua/modules/edje
+nodist_installed_edjelua_DATA = $(generated_edje_lua_all)
+
+endif