[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Revert "doxygen: Use @SRCDIR@ instead of @top_srcdir@."



commit fa860b6b1770c182986ab998eda8b8e16178e338
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Nov 5 08:49:48 2019 -0500

    Revert "doxygen: Use @SRCDIR@ instead of @top_srcdir@."
    
    This reverts commit 4c2c98900b7698469cea02a57c977dc636ec1f65.
---
 Doxyfile.in  | 10 +++++-----
 configure.ac |  1 -
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/Doxyfile.in b/Doxyfile.in
index 75e50b962..547a7db19 100644
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -256,7 +256,7 @@ TAB_SIZE               = 8
 
 ALIASES                =
 
-ALIASES += refdir{1}="\ref @SRCDIR@/src/\1 \"\1\""
+ALIASES += refdir{1}="\ref @top_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                  = @SRCDIR@/src/
+INPUT                  = @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. Doxygen uses
@@ -860,9 +860,9 @@ RECURSIVE              = YES
 # Note that relative paths are relative to the directory from which doxygen is
 # run.
 
-EXCLUDE                = @SRCDIR@/src/ext \
-                         @SRCDIR@/src/trunnel \
-                         @SRCDIR@/src/test
+EXCLUDE                = @top_srcdir@/src/ext \
+                         @top_srcdir@/src/trunnel \
+                         @top_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
diff --git a/configure.ac b/configure.ac
index fa975a281..487361773 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2129,7 +2129,6 @@ if test "x$SRCDIR" = "x"; then
   SRCDIR=$(cd "$srcdir"; pwd)
 fi
 AH_TEMPLATE([SRCDIR],[tor's sourcedir directory])
-AC_SUBST(SRCDIR)
 AC_DEFINE_UNQUOTED(SRCDIR,"$SRCDIR")
 
 if test "x$CONFDIR" = "x"; then

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits