Permalink
Browse files

added doxygen.conf

  • Loading branch information...
1 parent 37c51b0 commit a4be8a18e694ad847ab1cfc3a18a01239828cf1b @MaxKellermann MaxKellermann committed Sep 4, 2009
Showing with 131 additions and 1 deletion.
  1. +2 −0 .gitignore
  2. +18 −0 Makefile.am
  3. +5 −1 configure.ac
  4. +106 −0 doc/doxygen.conf.in
View
@@ -24,3 +24,5 @@ Makefile.in
/m4/lt~obsolete.m4
test/test
/*.pc
+doc/doxygen.conf
+doc/api
View
@@ -94,6 +94,24 @@ sparse-check:
doc_DATA = README COPYING
+if DOXYGEN
+
+doc/api/html/index.html: doc/doxygen.conf $(wildcard include/mpd/*.h)
+ $(DOXYGEN) $<
+
+all-local: doc/api/html/index.html
+
+mostlyclean-local:
+ rm -rf doc/api
+
+install-data-local: doc/api/html/index.html
+ $(mkinstalldirs) $(DESTDIR)$(docdir)/html
+ $(INSTALL_DATA) -c -m 644 doc/api/html/*.html doc/api/html/*.css \
+ doc/api/html/*.png doc/api/html/*.gif \
+ $(DESTDIR)$(docdir)/html
+
+endif
+
#
# Installation
#
View
@@ -18,6 +18,10 @@ AC_PROG_CC_C99
AC_PROG_INSTALL
AC_PROG_LIBTOOL
+AC_PATH_PROG(DOXYGEN, doxygen)
+AM_CONDITIONAL(DOXYGEN, test x$DOXYGEN != x)
+AC_SUBST(DOXYGEN)
+
dnl
dnl initialize variables
@@ -112,4 +116,4 @@ dnl
dnl Done
dnl
-AC_OUTPUT([Makefile libmpdclient.pc])
+AC_OUTPUT([Makefile libmpdclient.pc doc/doxygen.conf])
View
@@ -0,0 +1,106 @@
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+
+DOXYFILE_ENCODING = UTF-8
+
+PROJECT_NAME = libmpdclient
+PROJECT_NUMBER = @VERSION@
+
+OUTPUT_DIRECTORY = doc/api
+
+FULL_PATH_NAMES = YES
+STRIP_FROM_PATH = include/
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+
+EXTRACT_ALL = YES
+EXTRACT_STATIC = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+QUIET = YES
+WARNINGS = YES
+WARN_IF_UNDOCUMENTED = YES
+WARN_IF_DOC_ERROR = YES
+WARN_NO_PARAMDOC = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+
+INPUT = include/mpd
+FILE_PATTERNS = *.h
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+SOURCE_BROWSER = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+GENERATE_HTML = YES
+HTML_OUTPUT = html
+HTML_FILE_EXTENSION = .html
+DOCSET_FEEDNAME = "The Music Player Daemon Project"
+
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+GENERATE_LATEX = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+GENERATE_RTF = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+GENERATE_MAN = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+GENERATE_XML = NO
+
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+GENERATE_AUTOGEN_DEF = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+
+GENERATE_PERLMOD = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+ENABLE_PREPROCESSING = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+CLASS_DIAGRAMS = NO
+
+#---------------------------------------------------------------------------
+# Configuration::additions related to the search engine
+#---------------------------------------------------------------------------
+
+SEARCHENGINE = NO

0 comments on commit a4be8a1

Please sign in to comment.