added new style for doxygen documentation

This commit is contained in:
Andreas Volz 2011-12-01 00:51:12 +01:00
parent bde9919483
commit 5679f6bad2
16 changed files with 1034 additions and 14 deletions

View file

@ -1,13 +1,26 @@
if DBUS_DOXYGEN_DOCS_ENABLED
.PHONY: doc
PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
EXTRA_DIST = Doxyfile.in
noinst_PROGRAMS = index.html
doc-clean:
rm -rf html/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
index_html_SOURCES = Doxyfile
all: doc-clean
doxygen
cp $(srcdir)/img/* html/
rm -rf $(PACKAGE_DOCNAME).tar*
mkdir -p $(PACKAGE_DOCNAME)/doc
cp -R html/ $(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_builddir)
index.html: Doxyfile
doxygen Doxyfile
clean-local: doc-clean
endif