aboutsummaryrefslogtreecommitdiff
path: root/Doxyfile.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-05 08:37:22 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-05 08:37:22 -0500
commit4c2c98900b7698469cea02a57c977dc636ec1f65 (patch)
tree9963e177719c6528b19440a547c0731e6174604b /Doxyfile.in
parent6e023d55851f4287ffac5eef83721a43ee0a4319 (diff)
downloadtor-4c2c98900b7698469cea02a57c977dc636ec1f65.tar.gz
tor-4c2c98900b7698469cea02a57c977dc636ec1f65.zip
doxygen: Use @SRCDIR@ instead of @top_srcdir@.
Our @top_srcdir@ directory can contain "..", which confuses doxygen when it tries to make references to directories. Using @abs_top_srcdir@ has the same problem. Instead, we should use our @SRCDIR@ configuration variable, which is canonicalized.
Diffstat (limited to 'Doxyfile.in')
-rw-r--r--Doxyfile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doxyfile.in b/Doxyfile.in
index 547a7db190..75e50b9627 100644
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -256,7 +256,7 @@ TAB_SIZE = 8
ALIASES =
-ALIASES += refdir{1}="\ref @top_srcdir@/src/\1 \"\1\""
+ALIASES += refdir{1}="\ref @SRCDIR@/src/\1 \"\1\""
# This tag can be used to specify a number of word-keyword mappings (TCL only).
# A mapping has the form "name=value". For example adding "class=itcl::class"
@@ -818,7 +818,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
-INPUT = @top_srcdir@/src/
+INPUT = @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. Doxygen uses
@@ -860,9 +860,9 @@ RECURSIVE = YES
# Note that relative paths are relative to the directory from which doxygen is
# run.
-EXCLUDE = @top_srcdir@/src/ext \
- @top_srcdir@/src/trunnel \
- @top_srcdir@/src/test
+EXCLUDE = @SRCDIR@/src/ext \
+ @SRCDIR@/src/trunnel \
+ @SRCDIR@/src/test
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded