1 MAINTAINERCLEANFILES = Makefile.in elementary.dox
5 PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
11 -I$(top_srcdir)/src/lib \
12 -I$(top_builddir)/src/lib \
13 -I$(top_srcdir)/src/bin \
14 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
15 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
17 @ELEMENTARY_X_CFLAGS@ \
18 @ELEMENTARY_FB_CFLAGS@ \
19 @ELEMENTARY_WIN32_CFLAGS@ \
20 @ELEMENTARY_WINCE_CFLAGS@ \
21 @ELEMENTARY_EDBUS_CFLAGS@ \
22 @ELEMENTARY_EFREET_CFLAGS@ \
23 @ELEMENTARY_EWEATHER_CFLAGS@ \
24 @ELEMENTARY_ETHUMB_CFLAGS@ \
27 if ELEMENTARY_WINDOWS_BUILD
28 AM_CPPFLAGS += -DELEMENTARY_BUILD
32 widget_preview_button1 \
33 widget_preview_button2 \
34 widget_preview_button3 \
35 widget_preview_check1 \
36 widget_preview_check2 \
37 widget_preview_check3 \
38 widget_preview_bubble1 \
39 widget_preview_bubble2 \
40 widget_preview_bubble3 \
41 widget_preview_fileselector_button1 \
42 widget_preview_fileselector_button2 \
43 widget_preview_fileselector_button3 \
44 widget_preview_colorselector \
45 widget_preview_layout \
46 widget_preview_index \
47 widget_preview_clock \
48 widget_preview_label \
49 widget_preview_frame \
50 widget_preview_ctxpopup \
52 widget_preview_image \
53 widget_preview_calendar \
55 widget_preview_fileselector \
56 widget_preview_actionslider \
57 widget_preview_entry1 \
58 widget_preview_entry2 \
59 widget_preview_entry3 \
61 widget_preview_diskselector \
62 widget_preview_fileselector_entry \
63 widget_preview_flipselector \
64 widget_preview_hoversel \
65 widget_preview_hover \
66 widget_preview_anchorview \
67 widget_preview_anchorblock \
70 LDADD = $(top_builddir)/src/lib/libelementary.la @ELEMENTARY_EWEATHER_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ @ELEMENTARY_LIBS@ @EIO_LIBS@ @my_libs@
72 # dir:file name:executable:width:height
74 flip:preview-00.png:widget_preview_flip:100:100 \
75 button:preview-00.png:widget_preview_button1:160:50 \
76 button:preview-01.png:widget_preview_button2:160:50 \
77 button:preview-02.png:widget_preview_button3:160:50 \
78 fileselector_button:preview-00.png:widget_preview_fileselector_button1:200:50 \
79 fileselector_button:preview-01.png:widget_preview_fileselector_button2:200:50 \
80 fileselector_button:preview-02.png:widget_preview_fileselector_button3:160:50 \
81 check:preview-00.png:widget_preview_check1:160:50 \
82 check:preview-01.png:widget_preview_check2:160:50 \
83 check:preview-02.png:widget_preview_check3:160:50 \
84 bubble:preview-00.png:widget_preview_bubble1:160:50 \
85 bubble:preview-01.png:widget_preview_bubble2:160:50 \
86 bubble:preview-02.png:widget_preview_bubble3:160:50 \
87 colorselector:preview-00.png:widget_preview_colorselector:160:200 \
88 layout:preview-00.png:widget_preview_layout:200:160 \
89 index:preview-00.png:widget_preview_index:300:500 \
90 frame:preview-00.png:widget_preview_frame:100:50 \
91 label:preview-00.png:widget_preview_label:70:30 \
92 clock:preview-00.png:widget_preview_clock:200:100 \
93 ctxpopup:preview-00.png:widget_preview_ctxpopup:200:130 \
94 icon:preview-00.png:widget_preview_icon:50:50 \
95 image:preview-00.png:widget_preview_image:50:50 \
96 calendar:preview-00.png:widget_preview_calendar:300:300 \
97 bg:preview-00.png:widget_preview_bg:50:50 \
98 fileselector:preview-00.png:widget_preview_fileselector:300:300 \
99 actionslider:preview-00.png:widget_preview_actionslider:120:30 \
100 entry:preview-00.png:widget_preview_entry1:160:50 \
101 entry:preview-01.png:widget_preview_entry2:160:50 \
102 entry:preview-02.png:widget_preview_entry3:160:50 \
103 entry:preview-03.png:widget_preview_entry4:160:50
104 diskselector:preview-00.png:widget_preview_diskselector:120:50 \
105 fileselector_entry:preview-00.png:widget_preview_fileselector_entry:70:50 \
106 flipselector:preview-00.png:widget_preview_flipselector:100:60 \
107 hoversel:preview-00.png:widget_preview_hoversel:90:170 \
108 hover:preview-00.png:widget_preview_hover:90:170 \
109 anchorview:preview-00.png:widget_preview_anchorview:100:30 \
110 anchorblock:preview-00.png:widget_preview_anchorblock:100:30
113 @for ss in $(WGT_PREVIEW); do \
114 ENTRY=($${ss//:/ }) ; \
120 $(top_srcdir)/doc/shot.sh $(top_builddir)/doc/html/img/widget/$${DIR} $${SS} $(top_builddir)/doc/$${BIN} $${X} $${Y} ; \
121 mkdir -p $(top_builddir)/doc/latex/img/widget/$${DIR} ; \
122 convert $(top_builddir)/doc/html/img/widget/$${DIR}/$${SS} $(top_builddir)/doc/latex/img/widget/$${DIR}/$${SS/.png/.eps} ; \
126 rm -rf img/widget html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
130 cp -r $(srcdir)/img/* html/
131 cp -r $(srcdir)/img/* latex/
133 doc: all doc-clean widget-preview gen-doc
134 @echo "entering src/examples/"
135 $(MAKE) -C $(top_builddir)/src/examples screenshots
136 rm -rf $(PACKAGE_DOCNAME).tar*
137 mkdir -p $(PACKAGE_DOCNAME)/doc
138 cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
139 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
140 bzip2 -9 $(PACKAGE_DOCNAME).tar
141 rm -rf $(PACKAGE_DOCNAME)/
142 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
144 clean-local: doc-clean
149 @echo "Documentation not built. Run ./configure --help"
153 EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html elementary.dox.in widget_preview_tmpl_head.c widget_preview_tmpl_foot.c