[scroller] thumbscroll_bounce_enable is changed 0 in slp config
[framework/uifw/elementary.git] / doc / Makefile.am
1 SUBDIRS = widgets
2
3 MAINTAINERCLEANFILES = Makefile.in
4
5 .PHONY: doc
6
7 PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
8
9 if EFL_BUILD_DOC
10
11 # dir:file name:executable:width:height
12 WGT_PREVIEW = \
13         flip:preview-00.png:widget_preview_flip:100:100 \
14         button:preview-00.png:widget_preview_button1:160:50 \
15         button:preview-01.png:widget_preview_button2:160:50 \
16         button:preview-02.png:widget_preview_button3:160:50 \
17         fileselector_button:preview-00.png:widget_preview_fileselector_button1:200:50 \
18         fileselector_button:preview-01.png:widget_preview_fileselector_button2:200:50 \
19         fileselector_button:preview-02.png:widget_preview_fileselector_button3:160:50 \
20         check:preview-00.png:widget_preview_check1:160:50 \
21         check:preview-01.png:widget_preview_check2:160:50 \
22         check:preview-02.png:widget_preview_check3:160:50 \
23         spinner:preview-00.png:widget_preview_spinner:160:30 \
24         bubble:preview-00.png:widget_preview_bubble1:160:50 \
25         bubble:preview-01.png:widget_preview_bubble2:160:50 \
26         bubble:preview-02.png:widget_preview_bubble3:160:50 \
27         colorselector:preview-00.png:widget_preview_colorselector:160:200 \
28         layout:preview-00.png:widget_preview_layout:200:160 \
29         conformant:preview-00.png:widget_preview_conformant:200:400 \
30         list:preview-00.png:widget_preview_list:200:200 \
31         segment_control:preview-00.png:widget_preview_segment_control:240:120 \
32         index:preview-00.png:widget_preview_index:200:160 \
33         frame:preview-00.png:widget_preview_frame:100:50 \
34         label:preview-00.png:widget_preview_label:70:30 \
35         clock:preview-00.png:widget_preview_clock:200:100 \
36         slider:preview-00.png:widget_preview_slider:200:100 \
37         panes:preview-00.png:widget_preview_panes:200:100 \
38         toolbar:preview-00.png:widget_preview_toolbar:300:100 \
39         mapbuf:preview-00.png:widget_preview_mapbuf:200:200 \
40         map:preview-00.png:widget_preview_map:256:256 \
41         ctxpopup:preview-00.png:widget_preview_ctxpopup:200:130 \
42         icon:preview-00.png:widget_preview_icon:50:50 \
43         image:preview-00.png:widget_preview_image:50:50 \
44         calendar:preview-00.png:widget_preview_calendar:300:300 \
45         bg:preview-00.png:widget_preview_bg:50:50 \
46         fileselector:preview-00.png:widget_preview_fileselector:300:300 \
47         actionslider:preview-00.png:widget_preview_actionslider:120:30 \
48         entry:preview-00.png:widget_preview_entry1:160:50 \
49         entry:preview-01.png:widget_preview_entry2:160:50 \
50         entry:preview-02.png:widget_preview_entry3:160:50 \
51         entry:preview-03.png:widget_preview_entry4:160:50 \
52         diskselector:preview-00.png:widget_preview_diskselector:120:50 \
53         fileselector_entry:preview-00.png:widget_preview_fileselector_entry:70:50 \
54         flipselector:preview-00.png:widget_preview_flipselector:100:60 \
55         hoversel:preview-00.png:widget_preview_hoversel:90:170 \
56         hover:preview-00.png:widget_preview_hover:90:170 \
57         anchorview:preview-00.png:widget_preview_anchorview:100:30 \
58         anchorblock:preview-00.png:widget_preview_anchorblock:100:30 \
59         pager:preview-00.png:widget_preview_pager:100:100 \
60         separator:preview-00.png:widget_preview_separator:10:80 \
61         radio:preview-00.png:widget_preview_radio:60:20 \
62         toggle:preview-00.png:widget_preview_toggle:150:30 \
63         panel:preview-00.png:widget_preview_panel:150:50 \
64         gengrid:preview-00.png:widget_preview_gengrid:200:160 \
65         genlist:preview-00.png:widget_preview_genlist1:200:200 \
66         genlist:preview-01.png:widget_preview_genlist2:200:160 \
67         genlist:preview-02.png:widget_preview_genlist3:200:160 \
68         genlist:preview-03.png:widget_preview_genlist4:200:160 \
69         genlist:preview-04.png:widget_preview_genlist5:200:160 \
70         progressbar:preview-00.png:widget_preview_progressbar:150:50 \
71         box:preview-00.png:widget_preview_box:200:160 \
72         notify:preview-00.png:widget_preview_notify:60:30 \
73         slideshow:preview-00.png:widget_preview_slideshow:50:50 \
74         photocam:preview-00.png:widget_preview_photocam:243:162 \
75         inwin:preview-00.png:widget_preview_inwin1:200:160 \
76         inwin:preview-01.png:widget_preview_inwin2:200:160 \
77         inwin:preview-02.png:widget_preview_inwin3:200:160 \
78         scroller:preview-00.png:widget_preview_scroller:100:30 \
79         table::preview-00.png:widget_preview_table:100:100 \
80         win:preview-00.png:widget_preview_win:200:200 \
81         table:preview-00.png:widget_preview_table:100:100 \
82         menu:preview-00.png:widget_preview_menu:100:100 \
83         thumb:preview-00.png:widget_preview_thumb:100:100 \
84         web:preview-00.png:widget_preview_web:300:300
85
86 widget-build:
87         @$(MAKE) -C widgets
88
89 widget-preview: widget-build
90         @for ss in $(WGT_PREVIEW); do \
91                 ENTRY=($${ss//:/ }) ; \
92                 DIR=$${ENTRY[0]} ; \
93                 SS=$${ENTRY[1]} ; \
94                 BIN=$${ENTRY[2]} ; \
95                 X=$${ENTRY[3]} ; \
96                 Y=$${ENTRY[4]} ; \
97                 $(top_srcdir)/doc/shot.sh $(top_builddir)/doc/html/img/widget/$${DIR} $${SS} $(top_builddir)/doc/widgets/$${BIN} $${X} $${Y} ; \
98                 mkdir -p $(top_builddir)/doc/latex/img/widget/$${DIR} ; \
99                 convert $(top_builddir)/doc/html/img/widget/$${DIR}/$${SS} $(top_builddir)/doc/latex/img/widget/$${DIR}/$${SS/.png/.eps} ; \
100         done
101
102 doc-clean:
103         rm -rf img/widget html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
104
105 gen-doc:
106         $(efl_doxygen)
107         cp -r $(srcdir)/img/* html/
108         cp -r $(srcdir)/img/* latex/
109
110 doc: all doc-clean widget-preview gen-doc
111         @echo "entering src/examples/"
112         $(MAKE) -C $(top_builddir)/src/examples screenshots
113         rm -rf $(PACKAGE_DOCNAME).tar*
114         mkdir -p $(PACKAGE_DOCNAME)/doc
115         cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
116         tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
117         bzip2 -9 $(PACKAGE_DOCNAME).tar
118         rm -rf $(PACKAGE_DOCNAME)/
119         mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
120
121 clean-local: doc-clean
122
123 else
124
125 doc:
126         @echo "Documentation not built. Run ./configure --help"
127
128 endif
129
130 EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html