summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-09-19 06:57:03 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-09-19 06:57:03 +0000
commit371defbd324f6be745a670b06462cf99a6eba391 (patch)
tree9a56e63ddafe2902ba89a13f8f2a463169167060 /doc/Makefile.am
parentb98c85328fd48691aab067c0888abe4977e3deed (diff)
merge: add COPYING files (BSD 2-clause, LGPL and GPL) and doc
doc though head.html should be improved :) SVN revision: 76843
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000000..3f6d93e305
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,40 @@
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 @echo "Documentation Package: doc/$(PACKAGE_DOCNAME).tar.bz2"
24 @echo "Documentation HTML: doc/html"
25
26clean-local: doc-clean
27
28else
29
30doc:
31 @echo "Documentation not built. Run ./configure --help"
32
33endif
34
35EXTRA_DIST = \
36$(srcdir)/Doxyfile.in \
37$(wildcard $(srcdir)/img/*.*) \
38$(srcdir)/e.css \
39$(srcdir)/head.html \
40$(srcdir)/foot.html