2014-02-12 19:38:37 -08:00
|
|
|
if EFL_BUILD_DOC
|
|
|
|
|
|
|
|
.PHONY: doc
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2014-02-20 02:36:03 -08:00
|
|
|
-I$(top_builddir)/src/lib/efl \
|
2014-09-09 03:27:07 -07:00
|
|
|
-I$(top_srcdir)/src/lib/efl \
|
2014-02-20 02:36:03 -08:00
|
|
|
-I. \
|
|
|
|
-I$(builddir) \
|
|
|
|
-I$(top_srcdir)/src/lib/evil \
|
|
|
|
-I$(top_builddir)/src/lib/evil \
|
|
|
|
-I$(top_srcdir)/src/lib/eina \
|
|
|
|
-I$(top_builddir)/src/lib/eina \
|
|
|
|
-I$(top_srcdir)/src/lib/eo \
|
|
|
|
-I$(top_builddir)/src/lib/eo \
|
|
|
|
-I$(top_srcdir)/src/lib/eet \
|
|
|
|
-I$(top_builddir)/src/lib/eet \
|
|
|
|
-I$(top_srcdir)/src/lib/evas \
|
|
|
|
-I$(top_builddir)/src/lib/evas \
|
|
|
|
-I$(top_srcdir)/src/lib/ecore \
|
|
|
|
-I$(top_builddir)/src/lib/ecore \
|
|
|
|
-I$(top_srcdir)/src/lib/ecore_evas \
|
|
|
|
-I$(top_builddir)/src/lib/ecore_evas \
|
|
|
|
-DEFL_BETA_API_SUPPORT=1 \
|
|
|
|
-DEFL_EO_API_SUPPORT=1 \
|
|
|
|
@ECORE_EVAS_LDFLAGS@
|
2014-02-12 19:38:37 -08:00
|
|
|
|
|
|
|
LDADD = \
|
2014-02-20 02:36:03 -08:00
|
|
|
$(top_builddir)/src/lib/eina/libeina.la \
|
|
|
|
$(top_builddir)/src/lib/eo/libeo.la \
|
|
|
|
$(top_builddir)/src/lib/eet/libeet.la \
|
|
|
|
$(top_builddir)/src/lib/evas/libevas.la \
|
|
|
|
$(top_builddir)/src/lib/ecore/libecore.la \
|
|
|
|
$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
|
|
|
|
@ECORE_EVAS_LDFLAGS@
|
2014-02-18 20:32:26 -08:00
|
|
|
|
2014-02-12 19:38:37 -08:00
|
|
|
noinst_PROGRAMS = preview_text_filter
|
|
|
|
|
2014-02-13 17:04:02 -08:00
|
|
|
DATADIR = ${abs_top_srcdir}/doc/previews/img
|
|
|
|
HTMLDIR = ${abs_top_srcdir}/doc/html
|
2014-02-12 19:38:37 -08:00
|
|
|
|
2014-02-12 22:28:46 -08:00
|
|
|
PREVIEWS = blend blur bump curve grow mask transform \
|
2014-05-08 22:22:59 -07:00
|
|
|
example_1 padding
|
2014-02-12 19:38:37 -08:00
|
|
|
|
2014-02-20 02:36:03 -08:00
|
|
|
previews-data: preview_text_filter
|
2015-02-25 05:05:42 -08:00
|
|
|
$(MKDIR_P) $(DATADIR)
|
|
|
|
$(MKDIR_P) $(HTMLDIR)
|
2014-02-12 19:38:37 -08:00
|
|
|
@for a in $(PREVIEWS) ; do \
|
|
|
|
echo " GEN filter_$${a}.png" ; \
|
2014-02-13 00:26:33 -08:00
|
|
|
FONT="Sans" ; \
|
|
|
|
SIZE=24 ; \
|
2014-05-08 22:22:59 -07:00
|
|
|
TEXT="TEXT" ; \
|
2014-05-08 18:51:52 -07:00
|
|
|
FILTER=`cat ${top_srcdir}/src/examples/evas/filters/filter_$${a}.lua` ; \
|
2014-02-20 02:36:03 -08:00
|
|
|
if [ -e ${top_srcdir}/doc/previews/filter_$${a}.sh ] ; then \
|
|
|
|
source ${top_srcdir}/doc/previews/filter_$${a}.sh ; \
|
2014-02-13 00:26:33 -08:00
|
|
|
fi ; \
|
2014-02-20 02:36:03 -08:00
|
|
|
$(top_builddir)/doc/previews/preview_text_filter "$${TEXT}" "$${FILTER}" "$(DATADIR)/filter_$${a}.png" "$${FONT}" "$${SIZE}" ; \
|
2014-02-12 19:38:37 -08:00
|
|
|
cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \
|
|
|
|
done
|
|
|
|
|
2014-02-20 03:06:47 -08:00
|
|
|
if BUILD_EFL_NATIVE
|
2014-02-20 02:36:03 -08:00
|
|
|
doc: Makefile previews-data
|
2014-02-20 03:06:47 -08:00
|
|
|
endif
|
|
|
|
|
2014-02-12 19:38:37 -08:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST = preview_text_filter.c
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf $(DATADIR)
|
2015-03-17 00:49:54 -07:00
|
|
|
|