Updated to release 1.7.8
[platform/upstream/eeze.git] / doc / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in eeze.dox
2
3 .PHONY: doc install-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/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11
12 doc-build: all
13         $(efl_doxygen)
14         cp img/* html/
15         cp img/* latex/
16
17 doc: doc-build
18         cp $(srcdir)/img/* latex/
19         rm -rf $(PACKAGE_DOCNAME).tar*
20         mkdir -p $(PACKAGE_DOCNAME)/doc
21         cp -R html/ latex/ man/ xml/ $(PACKAGE_DOCNAME)/doc
22         tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
23         bzip2 -9 $(PACKAGE_DOCNAME).tar
24         rm -rf $(PACKAGE_DOCNAME)/
25         mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
26
27 clean-local: doc-clean
28
29 install-doc: doc-build
30         install -d $(docdir)
31         cp -R html latex man xml $(docdir)
32
33 uninstall-local:
34         rm -rf $(docdir)/html $(docdir)/latex $(docdir)/man $(docdir)/xml
35
36 else
37
38 doc:
39         @echo "Documentation not built. Run ./configure --help"
40
41 install-doc: doc
42
43 endif
44
45 EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html eeze.dox.in