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