aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-08-25 21:54:42 +0200
committerMax Kellermann <max@duempel.org>2011-08-27 11:30:30 +0200
commit4428894abaa4d40c443cabbf6c1eb467d6f55791 (patch)
treeee3b3bc22062942ce09e78137e3d183ab90eabd5 /doc
parent4f021cbced19dfc610d4f24168d29bd71963dd5e (diff)
downloadmpd-4428894abaa4d40c443cabbf6c1eb467d6f55791.tar.gz
mpd-4428894abaa4d40c443cabbf6c1eb467d6f55791.tar.xz
mpd-4428894abaa4d40c443cabbf6c1eb467d6f55791.zip
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
Diffstat (limited to 'doc')
-rw-r--r--doc/doxygen.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doxygen.conf.in b/doc/doxygen.conf.in
index 8b123737c..0657c5ca2 100644
--- a/doc/doxygen.conf.in
+++ b/doc/doxygen.conf.in
@@ -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