Doxyfile.in: fix build out-of-tree
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 2 Jan 2021 16:13:12 +0000 (17:13 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Wed, 13 Jan 2021 11:33:07 +0000 (11:33 +0000)
When doxygen is built out-of-tree, it fails to find the generated
file startup_tcl.inc:
src/openocd.c:59: warning: include file startup_tcl.inc
not found, perhaps you forgot to add its directory to
INCLUDE_PATH?

Add '@builddir@/src' to INCLUDE_PATH.

Change-Id: I51f2f6fe7224bba0f8b3db7219f9831de4e67139
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5998
Tested-by: jenkins
Doxyfile.in

index 6e68b4e373774e5890eae2bfa97697eb567cb271..55ed7f0f13fc95d6e0ca8245216502a57b055ec9 100644 (file)
@@ -1234,7 +1234,7 @@ SEARCH_INCLUDES        = YES
 # contain include files that are not input files but should be processed by
 # the preprocessor.
 
-INCLUDE_PATH           =
+INCLUDE_PATH           = @builddir@/src
 
 # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
 # patterns (like *.h and *.hpp) to filter out the header-files in the