From: antognolli Date: Mon, 18 Jul 2011 21:12:20 +0000 (+0000) Subject: ecore/examples - Themes are not programs. X-Git-Tag: REL_F_I9500_20120323_1~17^2~2281 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34b3d0da239efe9c9cdbd2547ab1f596b956d2ad;p=framework%2Fuifw%2Felementary.git ecore/examples - Themes are not programs. Put the .edj into files_DATA and also allow to add new themes just by adding them to the files_DATA section. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am index b0be08e..2a55ef8 100644 --- a/src/examples/Makefile.am +++ b/src/examples/Makefile.am @@ -3,6 +3,8 @@ MAINTAINERCLEANFILES = Makefile.in .PHONY: screenshots pkglibdir = $(datadir)/$(PACKAGE)/examples +filesdir = $(datadir)/$(PACKAGE)/examples +files_DATA = AM_CPPFLAGS = \ -I. \ @@ -71,16 +73,16 @@ SRCS = \ pkglib_PROGRAMS = +.edc.edj: + $(EDJE_CC) $(EDJE_FLAGS) $< $@ + if EFL_INSTALL_EXAMPLES -filesdir = $(datadir)/$(PACKAGE)/examples -files_DATA = $(SRCS) +files_DATA += $(SRCS) endif if EFL_BUILD_EXAMPLES -theme_example.edj: Makefile theme_example.edc - $(EDJE_CC) $(EDJE_FLAGS) \ - $(top_srcdir)/src/examples/theme_example.edc \ - $(top_builddir)/src/examples/theme_example.edj +files_DATA += \ + theme_example.edj clean-local: rm -f *.edj @@ -125,8 +127,7 @@ pkglib_PROGRAMS += \ flipselector_example \ fileselector_example \ fileselector_button_example \ - fileselector_entry_example \ - theme_example.edj + fileselector_entry_example # This variable will hold the list of screenshots that will be made # by "make screenshots". Each item in the list is of the form: