+SUBDIRS = previews
+
MAINTAINERCLEANFILES = Makefile.in
.PHONY: doc
doc-clean:
rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
-doc: all
+previews-build:
+ @$(MAKE) -C previews
+
+previews-data:
+ @$(MAKE) -C previews doc
+
+doc: all previews-build previews-data
$(efl_doxygen)
cp $(srcdir)/img/* html/
cp $(srcdir)/img/*.eps latex/
--- /dev/null
+if EFL_BUILD_DOC
+
+.PHONY: doc
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src/lib/efl \
+ -I$(top_srcdir)/src/lib/eina \
+ -I$(top_srcdir)/src/lib/evas \
+ -I$(top_srcdir)/src/lib/ecore \
+ -I$(top_srcdir)/src/lib/ecore_evas \
+ -DEFL_BETA_API_SUPPORT=1 \
+ -DEFL_EO_API_SUPPORT=1 \
+ -D_GNU_SOURCE
+
+LDADD = \
+ -L$(top_srcdir)/src/lib/eina/.libs \
+ -L$(top_srcdir)/src/lib/ecore/.libs \
+ -L$(top_srcdir)/src/lib/evas/.libs \
+ -L$(top_srcdir)/src/lib/ecore_evas/.libs \
+ -leina \
+ -levas \
+ -lecore \
+ -lecore_evas
+
+noinst_PROGRAMS = preview_text_filter
+
+DATADIR = ${top_srcdir}/doc/previews/img
+HTMLDIR = ${top_srcdir}/doc/html
+
+PREVIEWS =
+
+previews-data:
+ $(MKDIR_P) $(DATADIR)
+ $(MKDIR_P) $(HTMLDIR)
+ @for a in $(PREVIEWS) ; do \
+ echo " GEN filter_$${a}.png" ; \
+ source ${top_srcdir}/doc/previews/filter_$${a}.sh ; \
+ $(top_srcdir)/doc/previews/preview_text_filter "$${TEXT}" "$${FILTER}" "$(DATADIR)/filter_$${a}.png" "$${FONT}" "$${SIZE}" ; \
+ cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \
+ done
+
+doc: Makefile preview_text_filter previews-data
+
+endif
+
+EXTRA_DIST = preview_text_filter.c
+
+clean-local:
+ rm -rf $(DATADIR)
+