Change Flora License Version
[platform/core/uifw/e17.git] / doc / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in e.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/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11
12 doc: all doc-clean
13         $(efl_doxygen)
14         cp $(srcdir)/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_builddir)
22         @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2"
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 filesdir = $(datadir)/enlightenment/doc
34 files_DATA = \
35 documentation.html \
36 illume2.html \
37 FDO.txt \
38 cache.txt \
39 enlightenment.png \
40 illume2.png
41
42 EXTRA_DIST = $(files_DATA) Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html e.dox.in