summaryrefslogtreecommitdiff
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
parent6405a5a68c0ad618e8b8ab169a0ac85bf43c65c1 (diff)
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
-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 @@
1MAINTAINERCLEANFILES = Makefile.in 1MAINTAINERCLEANFILES = Makefile.in
2DISTCLEANFILES = \
3codegen_example_generated.c \
4codegen_example_generated.h \
5codegen_example.edj
6
2 7
3include ../../../Makefile_Elm_Helpers.am 8include ../../../Makefile_Elm_Helpers.am
4include ../../Makefile_Edje_Helper.am 9include ../../Makefile_Edje_Helper.am
@@ -253,9 +258,7 @@ ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example
253codegen_example_generated.c codegen_example_generated.h: codegen_example.edj 258codegen_example_generated.c codegen_example_generated.h: codegen_example.edj
254 $(AM_V_CODEGEN)$(ELEMENTARY_CODEGEN) $(ELEMENTARY_CODEGEN_FLAGS) $(<) elm/example/mylayout/default codegen_example_generated.c codegen_example_generated.h 259 $(AM_V_CODEGEN)$(ELEMENTARY_CODEGEN) $(ELEMENTARY_CODEGEN_FLAGS) $(<) elm/example/mylayout/default codegen_example_generated.c codegen_example_generated.h
255 260
256BUILT_SOURCES = codegen_example_generated.c codegen_example_generated.h 261codegen_example.$(OBJEXT): codegen_example_generated.h
257
258codegen_example.c: codegen_example_generated.h
259 262
260codegen_example_SOURCES = \ 263codegen_example_SOURCES = \
261 codegen_example.c 264 codegen_example.c
@@ -611,7 +614,7 @@ screenshots: examples
611 convert $(HTML_SS_DIR)/$${SS_FILE} $(LATEX_SS_DIR)/$${SS_FILE/.png/.eps} ; \ 614 convert $(HTML_SS_DIR)/$${SS_FILE} $(LATEX_SS_DIR)/$${SS_FILE/.png/.eps} ; \
612 done 615 done
613 616
614EXTRA_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 617EXTRA_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
615 618
616if HAVE_CSHARP 619if HAVE_CSHARP
617EXTRA_DIST += $(MONO_SRCS) 620EXTRA_DIST += $(MONO_SRCS)