Commit 4428894a authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Max Kellermann

let doxygen find the source code

[Unfortunately,] @top_srcdir@ is replaced by the package's top-level directory relative to the directory of the .in file being processed, e.g. if you unpack the MPD source to /usr/src/mpd, and build it in the same directory, @top_srcdir@/src/ in doc/doxygen.conf.in will be re- placed by "../src/", and, as doxygen is invoked from the top directory, is will expect the source code in /usr/src/src/, which is obviously wrong. To work around this problem, this patch changes @top_srcdir@ to @abs_top_srcdir@, which expands to the absolute path of the top source directory[1]. [1] http://www.gnu.org/s/hello/manual/autoconf/Preset-Output-Variables.html
parent 4f021cbc
......@@ -534,7 +534,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = @top_srcdir@/src/
INPUT = @abs_top_srcdir@/src/
# 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
......
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