From a771b3d4fe5b900fb3909a3fec6dc400c9f30a22 Mon Sep 17 00:00:00 2001 From: Stu Tomlinson Date: Fri, 18 Mar 2022 13:47:54 +0000 Subject: [PATCH] Support building docs when builddir != srcdir --- Doxyfile | 2 +- Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doxyfile b/Doxyfile index 964e9a4..82d7d87 100644 --- a/Doxyfile +++ b/Doxyfile @@ -874,7 +874,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = ./ +INPUT = $(SRCDIR) # 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 diff --git a/Makefile.am b/Makefile.am index cc312eb..c8abc63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -325,7 +325,7 @@ test-release-all: dist-archives echo "Success" && popd docs: - @doxygen -q + @SRCDIR=$(top_srcdir) doxygen -q $(top_srcdir)/Doxyfile @VALGRIND_CHECK_RULES@