forked from enlightenment/efl
Build utility tool based on the local hidden .libsefl-1.9
parent
cd926cc946
commit
a9b82a7928
3 changed files with 60 additions and 1 deletions
@ -0,0 +1,50 @@ |
||||
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)
|
||||
|
Loading…
Reference in new issue