diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-06-18 08:12:44 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-06-18 08:12:53 +0200 |
commit | 4f8e15c16c4f68b6fae8708b177ce672daefc59c (patch) | |
tree | 8c1bf8d808e0939bbd83291855961512ee42e70c /doc/previews | |
parent | e8c69667b01e2795c1e4ead0536652f935ffa674 (diff) | |
download | efl-4f8e15c16c4f68b6fae8708b177ce672daefc59c.tar.gz |
Revert "autotools: REMOVAL!"
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674.
git push on a wrong branch, sorry. This will land today, but not now.
Diffstat (limited to 'doc/previews')
-rw-r--r-- | doc/previews/Makefile.am | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/doc/previews/Makefile.am b/doc/previews/Makefile.am new file mode 100644 index 0000000000..ba952dd154 --- /dev/null +++ b/doc/previews/Makefile.am @@ -0,0 +1,73 @@ +if EFL_BUILD_DOC + +.PHONY: doc + +AM_CPPFLAGS = \ +-I$(top_builddir)/src/lib/efl \ +-I$(top_srcdir)/src/lib/efl \ +-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_CFLAGS@ + +LDADD = \ +$(top_builddir)/src/lib/eina/libeina.la \ +$(top_builddir)/src/lib/eo/libeo.la \ +$(top_builddir)/src/lib/efl/libefl.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@ + +noinst_PROGRAMS = preview_text_filter + +DATADIR = ${abs_top_srcdir}/doc/previews/img +HTMLDIR = ${abs_top_srcdir}/doc/html + +PREVIEWS = blend blur bump curve grow mask transform \ +example_1 padding + +previews-data: preview_text_filter + $(MKDIR_P) $(DATADIR) + $(MKDIR_P) $(HTMLDIR) + @for a in $(PREVIEWS) ; do \ + echo " GEN filter_$${a}.png" ; \ + FONT="Sans" ; \ + SIZE=24 ; \ + TEXT="TEXT" ; \ + FILTER=`cat ${top_srcdir}/src/examples/evas/filters/filter_$${a}.lua` ; \ + if [ -e ${top_srcdir}/doc/previews/filter_$${a}.sh ] ; then \ + source ${top_srcdir}/doc/previews/filter_$${a}.sh ; \ + fi ; \ + EVAS_DATA_DIR="$(top_srcdir)/src/lib/evas" $(top_builddir)/doc/previews/preview_text_filter "$${TEXT}" "$${FILTER}" "$(DATADIR)/filter_$${a}.png" "$${FONT}" "$${SIZE}" ; \ + cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \ + done + +if BUILD_EFL_NATIVE +doc: Makefile previews-data +endif + + +endif + +EXTRA_DIST = preview_text_filter.c + +clean-local: + rm -rf $(DATADIR) + |