aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-06-21 16:13:17 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-21 17:07:13 +0200
commitfffe6dc7b87d615e178d146b3799125c0c7fadb0 (patch)
tree566bf657b1d02cf2189f303b01103ab49e5790c2
parenteolian: implement a stringshare builtin (diff)
downloadefl-fffe6dc7b87d615e178d146b3799125c0c7fadb0.tar.gz
build: clean generated js and lua files manually to avoid problems with CLEANFILES
We hit another argument too long error with CLEANFILES. Moving the generated files for js and lua into separated variables and cleaning them manually fixes the issue.
-rw-r--r--src/Makefile.am3
-rw-r--r--src/Makefile_Ecore.am4
-rw-r--r--src/Makefile_Ecore_Audio.am4
-rw-r--r--src/Makefile_Ecore_Con.am4
-rw-r--r--src/Makefile_Edje.am4
-rw-r--r--src/Makefile_Efl.am4
-rw-r--r--src/Makefile_Elementary.am3
-rw-r--r--src/Makefile_Emotion.am4
-rw-r--r--src/Makefile_Eo.am2
-rw-r--r--src/Makefile_Evas.am4
10 files changed, 11 insertions, 25 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f36914e124..cbf258e33e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -22,6 +22,7 @@ noinst_DATA =
noinst_HEADERS =
GENERATED_JS_BINDINGS =
+GENERATED_LUA_BINDINGS =
EFL_INSTALL_EXEC_HOOK=
@@ -178,6 +179,8 @@ clean-local:
find . -type f -name '*.gcno' -delete
find . -type f -name '*.gcda' -delete
find . -type f -name check-results.xml -delete
+ rm -f $(GENERATED_JS_BINDINGS)
+ rm -f $(GENERATED_LUA_BINDINGS)
install-exec-hook:
$(MKDIR_P) $(DESTDIR)$(libdir)
diff --git a/src/Makefile_Ecore.am b/src/Makefile_Ecore.am
index b9c83f5d69..055f505b51 100644
--- a/src/Makefile_Ecore.am
+++ b/src/Makefile_Ecore.am
@@ -272,7 +272,7 @@ ecore_eolian_lua = $(ecore_eolian_files:%.eo=%.eo.lua)
generated_ecore_lua_all = $(ecore_eolian_lua)
-CLEANFILES += $(generated_ecore_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_ecore_lua_all)
installed_ecoreluadir = $(datadir)/elua/modules/ecore
nodist_installed_ecorelua_DATA = $(generated_ecore_lua_all)
@@ -283,8 +283,6 @@ if HAVE_JS
generated_ecore_js_bindings = $(ecore_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_ecore_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_ecore_js_bindings)
endif
diff --git a/src/Makefile_Ecore_Audio.am b/src/Makefile_Ecore_Audio.am
index f5d45cc0f0..99f1ba4838 100644
--- a/src/Makefile_Ecore_Audio.am
+++ b/src/Makefile_Ecore_Audio.am
@@ -93,7 +93,7 @@ ecore_audio_eolian_lua = $(ecore_audio_eolian_files:%.eo=%.eo.lua)
generated_ecore_audio_lua_all = $(ecore_audio_eolian_lua)
-CLEANFILES += $(generated_ecore_audio_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_ecore_audio_lua_all)
installed_ecoreaudioluadir = $(datadir)/elua/modules/ecore_audio
nodist_installed_ecoreaudiolua_DATA = $(generated_ecore_audio_lua_all)
@@ -104,8 +104,6 @@ if HAVE_JS
generated_ecore_audio_js_bindings = $(ecore_audio_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_ecore_audio_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_ecore_audio_js_bindings)
endif
diff --git a/src/Makefile_Ecore_Con.am b/src/Makefile_Ecore_Con.am
index f3f147fb51..a478dc2298 100644
--- a/src/Makefile_Ecore_Con.am
+++ b/src/Makefile_Ecore_Con.am
@@ -117,7 +117,7 @@ ecore_con_eolian_lua = $(ecore_con_eolian_files:%.eo=%.eo.lua)
generated_ecore_con_lua_all = $(ecore_con_eolian_lua)
-CLEANFILES += $(generated_ecore_con_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_ecore_con_lua_all)
installed_ecoreconluadir = $(datadir)/elua/modules/ecore_con
nodist_installed_ecoreconlua_DATA = $(generated_ecore_con_lua_all)
@@ -128,8 +128,6 @@ if HAVE_JS
generated_ecore_con_js_bindings = $(ecore_con_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_ecore_con_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_ecore_con_js_bindings)
endif
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 720bed5f39..f6dd2f7cfb 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -333,7 +333,7 @@ edje_eolian_lua = $(edje_eolian_files:%.eo=%.eo.lua)
generated_edje_lua_all = $(edje_eolian_lua)
-CLEANFILES += $(generated_edje_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_edje_lua_all)
installed_edjeluadir = $(datadir)/elua/modules/edje
nodist_installed_edjelua_DATA = $(generated_edje_lua_all)
@@ -344,8 +344,6 @@ if HAVE_JS
generated_edje_js_bindings = $(edje_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_edje_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_edje_js_bindings)
endif
diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am
index 8e97cd57cc..c8fe1f001d 100644
--- a/src/Makefile_Efl.am
+++ b/src/Makefile_Efl.am
@@ -116,7 +116,7 @@ efl_eolian_lua = $(efl_eolian_files:%.eo=%.eo.lua)
generated_efl_lua_all = $(efl_eolian_lua)
-CLEANFILES += $(generated_efl_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_efl_lua_all)
installed_eflluadir = $(datadir)/elua/modules/efl
nodist_installed_efllua_DATA = $(generated_efl_lua_all)
@@ -127,8 +127,6 @@ if HAVE_JS
generated_efl_js_bindings = $(efl_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_efl_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_efl_js_bindings)
endif
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index e725f55da1..a8e3cf8048 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -1369,7 +1369,7 @@ elementary_eolian_lua = $(elm_public_eolian_files:%.eo=%.eo.lua)
generated_elementary_lua_all = $(elementary_eolian_lua)
-CLEANFILES += $(generated_elementary_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_elementary_lua_all)
installed_elementaryluadir = $(datadir)/elua/modules/elementary
nodist_installed_elementarylua_DATA = $(generated_elementary_lua_all)
@@ -1380,7 +1380,6 @@ if HAVE_JS
generated_elementary_js_bindings = $(elm_public_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_elementary_js_bindings)
GENERATED_JS_BINDINGS += $(generated_elementary_js_bindings)
diff --git a/src/Makefile_Emotion.am b/src/Makefile_Emotion.am
index 653f6d2193..42966ce2da 100644
--- a/src/Makefile_Emotion.am
+++ b/src/Makefile_Emotion.am
@@ -337,7 +337,7 @@ emotion_eolian_lua = $(emotion_eolian_files:%.eo=%.eo.lua)
generated_emotion_lua_all = $(emotion_eolian_lua)
-CLEANFILES += $(generated_emotion_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_emotion_lua_all)
installed_emotionluadir = $(datadir)/elua/modules/emotion
nodist_installed_emotionlua_DATA = $(generated_emotion_lua_all)
@@ -349,8 +349,6 @@ if HAVE_JS
generated_emotion_js_bindings = $(emotion_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_emotion_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_emotion_js_bindings)
endif
diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am
index a7c9cf2875..782b1412ed 100644
--- a/src/Makefile_Eo.am
+++ b/src/Makefile_Eo.am
@@ -216,8 +216,6 @@ if HAVE_JS
generated_eo_js_bindings = $(eo_eolian_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_eo_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_eo_js_bindings)
endif
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index d861ab661b..ac7840edd5 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -2351,7 +2351,7 @@ evas_eolian_lua = $(evas_eolian_pub_files:%.eo=%.eo.lua)
generated_evas_lua_all = $(evas_eolian_lua)
-CLEANFILES += $(generated_evas_lua_all)
+GENERATED_LUA_BINDINGS += $(generated_evas_lua_all)
installed_evasluadir = $(datadir)/elua/modules/evas
nodist_installed_evaslua_DATA = $(generated_evas_lua_all)
@@ -2370,8 +2370,6 @@ if HAVE_JS
generated_evas_js_bindings = $(evas_eolian_pub_files:%.eo=%.eo.js.cc)
-CLEANFILES += $(generated_evas_js_bindings)
-
GENERATED_JS_BINDINGS += $(generated_evas_js_bindings)
endif