summaryrefslogtreecommitdiff
path: root/doc/previews/Makefile.am
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-02-13 12:38:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-13 17:36:23 +0900
commita9b82a7928f63286eaa89ac0965cf374d7da35c3 (patch)
tree1fcba1008c6cb830c5165464f224eb95206a750a /doc/previews/Makefile.am
parentcd926cc9462b44c5aebab3df4c65152d0cd93a89 (diff)
Doc: Add makefile for text filter previews
Build utility tool based on the local hidden .libs
Diffstat (limited to 'doc/previews/Makefile.am')
-rw-r--r--doc/previews/Makefile.am50
1 files changed, 50 insertions, 0 deletions
diff --git a/doc/previews/Makefile.am b/doc/previews/Makefile.am
new file mode 100644
index 0000000000..afc3e94566
--- /dev/null
+++ b/doc/previews/Makefile.am
@@ -0,0 +1,50 @@
1if EFL_BUILD_DOC
2
3.PHONY: doc
4
5AM_CPPFLAGS = \
6 -I$(top_srcdir)/src/lib/efl \
7 -I$(top_srcdir)/src/lib/eina \
8 -I$(top_srcdir)/src/lib/evas \
9 -I$(top_srcdir)/src/lib/ecore \
10 -I$(top_srcdir)/src/lib/ecore_evas \
11 -DEFL_BETA_API_SUPPORT=1 \
12 -DEFL_EO_API_SUPPORT=1 \
13 -D_GNU_SOURCE
14
15LDADD = \
16 -L$(top_srcdir)/src/lib/eina/.libs \
17 -L$(top_srcdir)/src/lib/ecore/.libs \
18 -L$(top_srcdir)/src/lib/evas/.libs \
19 -L$(top_srcdir)/src/lib/ecore_evas/.libs \
20 -leina \
21 -levas \
22 -lecore \
23 -lecore_evas
24
25noinst_PROGRAMS = preview_text_filter
26
27DATADIR = ${top_srcdir}/doc/previews/img
28HTMLDIR = ${top_srcdir}/doc/html
29
30PREVIEWS =
31
32previews-data:
33 $(MKDIR_P) $(DATADIR)
34 $(MKDIR_P) $(HTMLDIR)
35 @for a in $(PREVIEWS) ; do \
36 echo " GEN filter_$${a}.png" ; \
37 source ${top_srcdir}/doc/previews/filter_$${a}.sh ; \
38 $(top_srcdir)/doc/previews/preview_text_filter "$${TEXT}" "$${FILTER}" "$(DATADIR)/filter_$${a}.png" "$${FONT}" "$${SIZE}" ; \
39 cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \
40 done
41
42doc: Makefile preview_text_filter previews-data
43
44endif
45
46EXTRA_DIST = preview_text_filter.c
47
48clean-local:
49 rm -rf $(DATADIR)
50