summaryrefslogtreecommitdiff
path: root/src/Makefile_Elua.am
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-06-08 10:26:06 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-10 13:04:18 +0200
commit93eadd76d6d49bbe1e49eaf976b4c6fd5545f340 (patch)
tree1d5e92af79028658a3c858fc29cd1181a438279c /src/Makefile_Elua.am
parente165854a78949cd76fedd84cd124de2185c910c9 (diff)
downloadefl-93eadd76d6d49bbe1e49eaf976b4c6fd5545f340.tar.gz
build: split EXTRA_DIST files in src/ off from DISTFILES and handle separately
This is again to avoid the "Argument list too long" error we are hitting more and more now. Given we just merged elementary, emotion generic players, evas generic loaders and elm_code it is not surprising we are hitting it again. This time the number of files being hold in DISTFILES has just grown to big so a make dist was no longer possible. If one looks at what the DISTFILES variable from automake holds you can image it grows a lot with all the source files plus generated files we have in tree now. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) To cut off a big chunk but still keep all the other automagic in place for SOURCE files I went and renamed the EXTRA_DIST in src/ to EXTRA_DIST2 and handle the files in a dist-hook now. Another thing to note here is that this also only happens as we have the one big Makefile with includes. If we go back to per directory Makefiles this problem should vanish as well. In any case we need a solution for 1.18 now and this is what I have to offer. If you have a cleaner solution in mind feel welcome to test it out and if everything we need keeps working (make, make examples, make check, make benchmark, make dist and make distcheck) go ahead.
Diffstat (limited to 'src/Makefile_Elua.am')
-rw-r--r--src/Makefile_Elua.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile_Elua.am b/src/Makefile_Elua.am
index 7b15e6ea9f..dca4a4d3ae 100644
--- a/src/Makefile_Elua.am
+++ b/src/Makefile_Elua.am
@@ -59,7 +59,7 @@ eluaappsdir = $(datadir)/elua/apps
eluaapps_DATA = \
scripts/elua/apps/lualian.lua
-EXTRA_DIST += $(eluaapps_DATA)
+EXTRA_DIST2 += $(eluaapps_DATA)
eluadocgendir = $(datadir)/elua/apps/docgen
@@ -67,7 +67,7 @@ eluadocgen_DATA = \
scripts/elua/apps/docgen/gendoc.lua \
scripts/elua/apps/docgen/README.md
-EXTRA_DIST += $(eluadocgen_DATA)
+EXTRA_DIST2 += $(eluadocgen_DATA)
eluamodulesdir = $(datadir)/elua/modules
@@ -78,7 +78,7 @@ eluamodules_DATA = \
bindings/luajit/eo.lua \
bindings/luajit/eolian.lua
-EXTRA_DIST += $(eluamodules_DATA)
+EXTRA_DIST2 += $(eluamodules_DATA)
eluaeinadir = $(eluamodulesdir)/eina
@@ -94,7 +94,7 @@ eluaeina_DATA = \
bindings/luajit/eina/tiler.lua \
bindings/luajit/eina/xattr.lua
-EXTRA_DIST += $(eluaeina_DATA)
+EXTRA_DIST2 += $(eluaeina_DATA)
eluacoredir = $(datadir)/elua/core
@@ -103,7 +103,7 @@ eluacore_DATA = \
scripts/elua/core/module.lua \
scripts/elua/core/util.lua
-EXTRA_DIST += $(eluacore_DATA)
+EXTRA_DIST2 += $(eluacore_DATA)
if EFL_ENABLE_TESTS
@@ -138,6 +138,6 @@ tests_elua_elua_suite_DEPENDENCIES = @USE_ELUA_INTERNAL_LIBS@
endif
-EXTRA_DIST += tests/elua/data/apps/test.lua
+EXTRA_DIST2 += tests/elua/data/apps/test.lua
endif