build: fix distcheck building when main tree is not compiled

Summary:
when running 'make distcheck' immediately after configure, the build
will fail because some example files were incorrectly being distributed
instead of being compiled normally in the dist build

Reviewers: ManMower

Reviewed By: ManMower

Subscribers: cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6582
This commit is contained in:
Mike Blumenkrantz 2018-07-13 15:41:11 -04:00
parent 6405a5a68c
commit 83a0e7440c
1 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,9 @@
MAINTAINERCLEANFILES = Makefile.in
DISTCLEANFILES = \
codegen_example_generated.c \
codegen_example_generated.h \
codegen_example.edj
include ../../../Makefile_Elm_Helpers.am
include ../../Makefile_Edje_Helper.am
@ -253,9 +258,7 @@ ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example
codegen_example_generated.c codegen_example_generated.h: codegen_example.edj
$(AM_V_CODEGEN)$(ELEMENTARY_CODEGEN) $(ELEMENTARY_CODEGEN_FLAGS) $(<) elm/example/mylayout/default codegen_example_generated.c codegen_example_generated.h
BUILT_SOURCES = codegen_example_generated.c codegen_example_generated.h
codegen_example.c: codegen_example_generated.h
codegen_example.$(OBJEXT): codegen_example_generated.h
codegen_example_SOURCES = \
codegen_example.c
@ -611,7 +614,7 @@ screenshots: examples
convert $(HTML_SS_DIR)/$${SS_FILE} $(LATEX_SS_DIR)/$${SS_FILE/.png/.eps} ; \
done
EXTRA_DIST = dict.txt layout_example.edc theme_example.edc codegen_example.edc evas3d_map_example.edc twitter_example_01.edc efl_ui_view_list_example.edc performance/layout.edc performance/background.png performance/target_texture.png sphere_hunter/sphere_hunter.edc sphere_hunter/score.jpg sphere_hunter/EFL_victory.png sphere_hunter/EFL_defeat.png codegen_example_generated.c codegen_example_generated.h codegen_example.edj prefs_example_01.epc prefs_example_02.epc prefs_example_03.epc prefs_example_03.edc
EXTRA_DIST = dict.txt layout_example.edc theme_example.edc codegen_example.edc evas3d_map_example.edc twitter_example_01.edc efl_ui_view_list_example.edc performance/layout.edc performance/background.png performance/target_texture.png sphere_hunter/sphere_hunter.edc sphere_hunter/score.jpg sphere_hunter/EFL_victory.png sphere_hunter/EFL_defeat.png prefs_example_01.epc prefs_example_02.epc prefs_example_03.epc prefs_example_03.edc
if HAVE_CSHARP
EXTRA_DIST += $(MONO_SRCS)