aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/eina/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/eina/doc/Makefile.am37
1 files changed, 37 insertions, 0 deletions
diff --git a/libraries/eina/doc/Makefile.am b/libraries/eina/doc/Makefile.am
new file mode 100644
index 0000000..6f31b96
--- /dev/null
+++ b/libraries/eina/doc/Makefile.am
@@ -0,0 +1,37 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3.PHONY: doc
4
5PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
6
7if EFL_BUILD_DOC
8
9doc-clean:
10 rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11
12doc: all
13 $(efl_doxygen)
14 cp $(srcdir)/img/* html/
15 cp $(srcdir)/img/*.eps latex/
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
24clean-local: doc-clean
25
26else
27
28doc:
29 @echo "Documentation not built. Run ./configure --help"
30
31endif
32
33EXTRA_DIST = $(srcdir)/Doxyfile.in \
34 $(wildcard $(srcdir)/img/*.*) \
35 $(srcdir)/e.css \
36 $(srcdir)/head.html \
37 $(srcdir)/foot.html