Elementary widget: Fixed NULL checking in elm_widget_show_region_set
[framework/uifw/elementary.git] / doc / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in elementary.dox
2
3 .PHONY: doc
4
5 PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
6
7 if EFL_BUILD_DOC
8
9 doc-clean:
10         rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar*
11
12 doc: all doc-clean
13         $(efl_doxygen)
14         cp img/* html/
15         rm -rf $(PACKAGE_DOCNAME).tar*
16         mkdir -p $(PACKAGE_DOCNAME)/doc
17         cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
18         tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
19         bzip2 -9 $(PACKAGE_DOCNAME).tar
20         rm -rf $(PACKAGE_DOCNAME)/
21         mv $(PACKAGE_DOCNAME).tar.bz2 $(top_srcdir)
22
23 clean-local: doc-clean
24
25 else
26
27 doc:
28         @echo "Documentation not built. Run ./configure --help"
29
30 endif
31
32 EXTRA_DIST = Doxyfile $(wildcard img/*.*) e.css head.html foot.html elementary.dox.in