summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am10
-rw-r--r--doc/previews/Makefile.am50
2 files changed, 59 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 63a834e519..06712a98eb 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,5 @@
1SUBDIRS = previews
2
1MAINTAINERCLEANFILES = Makefile.in 3MAINTAINERCLEANFILES = Makefile.in
2 4
3.PHONY: doc 5.PHONY: doc
@@ -9,7 +11,13 @@ if EFL_BUILD_DOC
9doc-clean: 11doc-clean:
10 rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar* 12 rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11 13
12doc: all 14previews-build:
15 @$(MAKE) -C previews
16
17previews-data:
18 @$(MAKE) -C previews doc
19
20doc: all previews-build previews-data
13 $(efl_doxygen) 21 $(efl_doxygen)
14 cp $(srcdir)/img/* html/ 22 cp $(srcdir)/img/* html/
15 cp $(srcdir)/img/*.eps latex/ 23 cp $(srcdir)/img/*.eps latex/
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