summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-13 15:41:11 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-07-13 15:41:11 -0400
commit83a0e7440c54d7382535391b39407a41d8e2cf89 (patch)
treefd771bb1772b642c07bc50eca56ace2d4db55a57 /src
parent6405a5a68c0ad618e8b8ab169a0ac85bf43c65c1 (diff)
downloadefl-83a0e7440c54d7382535391b39407a41d8e2cf89.tar.gz
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
Diffstat (limited to 'src')
-rw-r--r--src/examples/elementary/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/examples/elementary/Makefile.am b/src/examples/elementary/Makefile.am
index 546c270a50..db16bab824 100644
--- a/src/examples/elementary/Makefile.am
+++ b/src/examples/elementary/Makefile.am
@@ -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)