aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Efl.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_Efl.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_Efl.am')
-rw-r--r--src/Makefile_Efl.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am
index 30815146d7..5533dce961 100644
--- a/src/Makefile_Efl.am
+++ b/src/Makefile_Efl.am
@@ -40,3 +40,16 @@ dist_installed_eflheaders_DATA = \
installed_eflinterfacesdir = $(includedir)/efl-@VMAJ@/interfaces
nodist_installed_eflinterfaces_DATA = $(efl_eolian_files_h)
+
+if HAVE_ELUA
+
+efl_eolian_lua = $(efl_eolian_files:%.eo=%.eo.lua)
+
+generated_efl_lua_all = $(efl_eolian_lua)
+
+CLEANFILES += $(generated_efl_lua_all)
+
+installed_eflluadir = $(datadir)/elua/modules/efl
+nodist_installed_efllua_DATA = $(generated_efl_lua_all)
+
+endif