[libcamera-devel] [PATCH] Documentation: Use absolute paths for Doxygen EXCLUDE files

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sat Jun 8 13:14:00 CEST 2019


To avoid hardcoding a dependency between the source and build
directories, use absolute paths for the Doxygen EXCLUDE files. The build
directory can now be placed in any location, not just a direct
subdirectory of the source directory.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 Documentation/Doxyfile.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/Doxyfile.in b/Documentation/Doxyfile.in
index ac70efbff9fd..c58631200dd5 100644
--- a/Documentation/Doxyfile.in
+++ b/Documentation/Doxyfile.in
@@ -833,11 +833,11 @@ RECURSIVE              = YES
 # Note that relative paths are relative to the directory from which doxygen is
 # run.
 
-EXCLUDE                = ../src/libcamera/device_enumerator_sysfs.cpp \
-			 ../src/libcamera/device_enumerator_udev.cpp \
-			 ../src/libcamera/include/device_enumerator_sysfs.h \
-			 ../src/libcamera/include/device_enumerator_udev.h \
-			 ../src/libcamera/pipeline/
+EXCLUDE                = @TOP_SRCDIR@/src/libcamera/device_enumerator_sysfs.cpp \
+			 @TOP_SRCDIR@/src/libcamera/device_enumerator_udev.cpp \
+			 @TOP_SRCDIR@/src/libcamera/include/device_enumerator_sysfs.h \
+			 @TOP_SRCDIR@/src/libcamera/include/device_enumerator_udev.h \
+			 @TOP_SRCDIR@/src/libcamera/pipeline/
 
 # 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
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list