forked from enlightenment/efl
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. SVN revision: 61487
This commit is contained in:
parent
f80e0b884f
commit
f736927093
|
@ -3,6 +3,8 @@ MAINTAINERCLEANFILES = Makefile.in
|
||||||
.PHONY: screenshots
|
.PHONY: screenshots
|
||||||
|
|
||||||
pkglibdir = $(datadir)/$(PACKAGE)/examples
|
pkglibdir = $(datadir)/$(PACKAGE)/examples
|
||||||
|
filesdir = $(datadir)/$(PACKAGE)/examples
|
||||||
|
files_DATA =
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I. \
|
-I. \
|
||||||
|
@ -71,16 +73,16 @@ SRCS = \
|
||||||
|
|
||||||
pkglib_PROGRAMS =
|
pkglib_PROGRAMS =
|
||||||
|
|
||||||
|
.edc.edj:
|
||||||
|
$(EDJE_CC) $(EDJE_FLAGS) $< $@
|
||||||
|
|
||||||
if EFL_INSTALL_EXAMPLES
|
if EFL_INSTALL_EXAMPLES
|
||||||
filesdir = $(datadir)/$(PACKAGE)/examples
|
files_DATA += $(SRCS)
|
||||||
files_DATA = $(SRCS)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if EFL_BUILD_EXAMPLES
|
if EFL_BUILD_EXAMPLES
|
||||||
theme_example.edj: Makefile theme_example.edc
|
files_DATA += \
|
||||||
$(EDJE_CC) $(EDJE_FLAGS) \
|
theme_example.edj
|
||||||
$(top_srcdir)/src/examples/theme_example.edc \
|
|
||||||
$(top_builddir)/src/examples/theme_example.edj
|
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -f *.edj
|
rm -f *.edj
|
||||||
|
@ -125,8 +127,7 @@ pkglib_PROGRAMS += \
|
||||||
flipselector_example \
|
flipselector_example \
|
||||||
fileselector_example \
|
fileselector_example \
|
||||||
fileselector_button_example \
|
fileselector_button_example \
|
||||||
fileselector_entry_example \
|
fileselector_entry_example
|
||||||
theme_example.edj
|
|
||||||
|
|
||||||
# This variable will hold the list of screenshots that will be made
|
# This variable will hold the list of screenshots that will be made
|
||||||
# by "make screenshots". Each item in the list is of the form:
|
# by "make screenshots". Each item in the list is of the form:
|
||||||
|
|
Loading…
Reference in New Issue