aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2010-02-11 04:37:59 +0000
committerChristopher Michael <cpmichael1@comcast.net>2010-02-11 04:37:59 +0000
commit2fb54ab1054f875cfac0d9352b8c2f60cee18a47 (patch)
treea31ce8a35dc9d60c9c496ada9cdde55ca39ff7ef /doc/Makefile.am
parent19eb47f28850b34c0fb6f697524f4c169e594f4a (diff)
downloadenlightenment-2fb54ab1054f875cfac0d9352b8c2f60cee18a47.tar.gz
enlightenment-2fb54ab1054f875cfac0d9352b8c2f60cee18a47.tar.xz
enlightenment-2fb54ab1054f875cfac0d9352b8c2f60cee18a47.zip
Add basic doxygen structure.
SVN revision: 46067
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am34
1 files changed, 32 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d96e2ff6b..1855b3703 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,34 @@
-MAINTAINERCLEANFILES = Makefile.in
+MAINTAINERCLEANFILES = Makefile.in e.dox
+
+.PHONY: doc
+
+PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
+
+if EFL_BUILD_DOC
+
+doc-clean:
+ rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar*
+
+doc: all doc-clean
+ $(efl_doxygen)
+ cp img/* html/
+ rm -rf $(PACKAGE_DOCNAME).tar*
+ mkdir -p $(PACKAGE_DOCNAME)/doc
+ cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
+ tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
+ bzip2 -9 $(PACKAGE_DOCNAME).tar
+ rm -rf $(PACKAGE_DOCNAME)/
+ mv $(PACKAGE_DOCNAME).tar.bz2 $(top_srcdir)
+
+clean-local: doc-clean
+
+else
+
+doc:
+ @echo "Documentation not built. Run ./configure --help"
+
+endif
+
filesdir = $(datadir)/enlightenment/doc
files_DATA = \
documentation.html \
@@ -8,4 +38,4 @@ cache.txt \
enlightenment.png \
illume2.png
-EXTRA_DIST = $(files_DATA)
+EXTRA_DIST = $(files_DATA) Doxyfile $(wildcard img/*.*) e.css head.html foot.html e.dox.in