Commit b8fe2c74 authored by Max Kellermann's avatar Max Kellermann

Makefile.am: generate doxygen.conf

Don't create a modified copy for out-of-tree builds.
parent be3b5199
...@@ -1133,8 +1133,7 @@ endif ...@@ -1133,8 +1133,7 @@ endif
doc/api/html/index.html: doc/doxygen.conf doc/api/html/index.html: doc/doxygen.conf
@mkdir -p $(@D) @mkdir -p $(@D)
[ "$(srcdir)" = "." ] || sed '/INPUT *=/ s/\([^ ]\+\/\)/$(subst /,\/,$(srcdir))\/\1/g' $(srcdir)/doc/doxygen.conf >doc/doxygen.conf $(DOXYGEN) $<
$(DOXYGEN) doc/doxygen.conf
all-local: $(DOCBOOK_HTML) doc/api/html/index.html all-local: $(DOCBOOK_HTML) doc/api/html/index.html
......
...@@ -1609,5 +1609,6 @@ dnl --------------------------------------------------------------------------- ...@@ -1609,5 +1609,6 @@ dnl ---------------------------------------------------------------------------
dnl Generate files dnl Generate files
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
AC_OUTPUT(Makefile) AC_OUTPUT(Makefile)
AC_OUTPUT(doc/doxygen.conf)
echo 'MPD is ready for compilation, type "make" to begin.' echo 'MPD is ready for compilation, type "make" to begin.'
...@@ -31,7 +31,7 @@ PROJECT_NAME = MPD ...@@ -31,7 +31,7 @@ PROJECT_NAME = MPD
# This could be handy for archiving the generated documentation or # This could be handy for archiving the generated documentation or
# if some version control system is used. # if some version control system is used.
PROJECT_NUMBER = PROJECT_NUMBER = @VERSION@
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put. # base path where the generated documentation will be put.
...@@ -534,7 +534,7 @@ WARN_LOGFILE = ...@@ -534,7 +534,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories # directories like "/usr/src/myproject". Separate the files or directories
# with spaces. # with spaces.
INPUT = src/ INPUT = @top_srcdir@/src/
# This tag can be used to specify the character encoding of the source files # This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment