build: keep our CLEANFILES tidy to avoid argument list too long during clean

We have been putting the generated eo files and BUILT_SOURCES into CLEANFILES
several times. So far this have not been a real problem but with the elm merge
and more and more eo files showing up this did explode recently.

During make distcheck a lot of files kept being around and make complained about
them. It took some digging to find the arguments list to long error. If you want
details on this great limitation have a look here:
http://www.linuxjournal.com/article/6060

In our case we have been lucky enough that we just appened many files over and
over again. Not doing that solves the issue for now. My testing showed no
problems but if I missed something let me know.

Fixes T3386
This commit is contained in:
Stefan Schmidt 2016-03-31 16:22:04 +02:00
parent 0876135260
commit 0a03e63350
13 changed files with 3 additions and 41 deletions

View File

@ -100,6 +100,9 @@ endif
include Makefile_Eolian_Js.am
include Makefile_Efl_Js.am
# Make sure all generated files getting cleaned up
CLEANFILES += $(BUILT_SOURCES)
.PHONY: benchmark examples
BENCHMARK_SUBDIRS = \

View File

@ -28,10 +28,6 @@ BUILT_SOURCES += \
$(ecore_eolian_c) \
$(ecore_eolian_h)
CLEANFILES += \
$(ecore_eolian_c) \
$(ecore_eolian_h)
ecoreeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
ecoreeolianfiles_DATA = $(ecore_eolian_files) \
$(ecore_eolian_type_files)

View File

@ -26,10 +26,6 @@ BUILT_SOURCES += \
$(ecore_audio_eolian_c) \
$(ecore_audio_eolian_h)
CLEANFILES += \
$(ecore_audio_eolian_c) \
$(ecore_audio_eolian_h)
ecore_audioeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
ecore_audioeolianfiles_DATA = $(ecore_audio_eolian_files)

View File

@ -19,10 +19,6 @@ BUILT_SOURCES += \
$(ecore_con_eolian_c) \
$(ecore_con_eolian_h)
CLEANFILES += \
$(ecore_con_eolian_c) \
$(ecore_con_eolian_h)
ecoreconeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
ecoreconeolianfiles_DATA = \
$(ecore_con_eolian_files)

View File

@ -17,10 +17,6 @@ BUILT_SOURCES += \
$(edje_eolian_c) \
$(edje_eolian_h)
CLEANFILES += \
$(edje_eolian_c) \
$(edje_eolian_h)
edjeeolianfilesdir = $(datadir)/eolian/include/edje-@VMAJ@
edjeeolianfiles_DATA = \
$(edje_eolian_files) \

View File

@ -41,11 +41,6 @@ BUILT_SOURCES += \
$(efl_eolian_files_h) \
$(efl_eolian_legacy_files_h)
CLEANFILES += \
$(efl_eolian_files_c) \
$(efl_eolian_files_h) \
$(efl_eolian_legacy_files_h)
EXTRA_DIST += \
lib/efl/Efl_Config.h \
lib/efl/Efl.h \

View File

@ -131,10 +131,6 @@ BUILT_SOURCES += \
$(elm_eolian_c) \
$(elm_eolian_h)
CLEANFILES += \
$(elm_eolian_c) \
$(elm_eolian_h)
elementaryeolianfilesdir = $(datadir)/eolian/include/elementary-@VMAJ@
elementaryeolianfiles_DATA = $(elm_eolian_files) $(elm_eolian_type_files)

View File

@ -21,5 +21,3 @@ SUFFIXES += .lua
%.eo.lua: %.eo ${_ELUA_GEN_DEP}
$(AM_V_ELUA)$(ELUA_GEN) $(EOLIAN_FLAGS) -o $@ $<
CLEANFILES += $(BUILT_SOURCES)

View File

@ -11,10 +11,6 @@ BUILT_SOURCES += \
$(emotion_eolian_c) \
$(emotion_eolian_h)
CLEANFILES += \
$(emotion_eolian_c) \
$(emotion_eolian_h)
emotioneolianfilesdir = $(datadir)/eolian/include/emotion-@VMAJ@
emotioneolianfiles_DATA = \
$(emotion_eolian_files)

View File

@ -16,5 +16,3 @@ SUFFIXES += .eo.hh
$(AM_V_EOLCXX) \
$(MKDIR_P) $(dir $@); \
$(EOLIAN_CXX) $(EOLIAN_FLAGS) -o $@ $<
CLEANFILES += $(BUILT_SOURCES)

View File

@ -31,5 +31,3 @@ SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h .eot .eot.h
$(AM_V_EOL) \
$(MKDIR_P) $(dir $@); \
$(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gh -o $@ $<
CLEANFILES += $(BUILT_SOURCES)

View File

@ -14,5 +14,3 @@ SUFFIXES += .eo.js.cc
%.eo.js.cc: %.eo $(_EOLIAN_JS_DEP)
$(AM_V_EOLJS)$(EOLIAN_JS) $(EOLIAN_FLAGS) -o $@ $<
CLEANFILES += $(BUILT_SOURCES)

View File

@ -82,10 +82,6 @@ BUILT_SOURCES += \
$(evas_eolian_c) \
$(evas_eolian_h)
CLEANFILES += \
$(evas_eolian_c) \
$(evas_eolian_h)
evaseolianfilesdir = $(datadir)/eolian/include/evas-@VMAJ@
evaseolianfiles_DATA = $(evas_eolian_files)