From patchwork Mon May 26 12:03:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 23444 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 79C6DC3237 for ; Mon, 26 May 2025 12:04:01 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DA81168D9D; Mon, 26 May 2025 14:03:59 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Fdv41Wj2"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9F556627DA for ; Mon, 26 May 2025 14:03:58 +0200 (CEST) Received: from pb-laptop.local (185.221.141.78.nat.pool.zt.hu [185.221.141.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AA9A37E6 for ; Mon, 26 May 2025 14:03:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1748261013; bh=if7GbMLmKP73KFgIPUhCEHDOgt61VikEGK/byO92NsE=; h=From:To:Subject:Date:From; b=Fdv41Wj2Ik9vCU6kbhVbnqqk2Jk4AciQq1s4hQbQCMARiF+bp9pkYixcYM8wm0uNs 5pdP2YHrdZ2GZ9cx/h1CSU7JhcSExqIP8VmZxbqMuQT2JCFOPYlt6bmUV/Ywy7OTb7 WbZmSi4YP4MXeknXSXEfz5i4runAeo1eSTunU/v4= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1] Documentation: Fix `INCLUDE_PATH` doxygen configuration option Date: Mon, 26 May 2025 14:03:55 +0200 Message-ID: <20250526120355.2023227-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" libcamera header files should be included using the `libcamera/...` prefix. However, `INCLUDE_PATH` is currently set to `@TOP_SRCDIR@/include/libcamera` meaning that doxygen, when encountering `libcamera/x.h`, will try to open `@TOP_SRCDIR@/include/libcamera/libcamera/x.h`, which is not the correct path. Fix that by using `@TOP_{BUILD,SRC}DIR@/include`. This removes the extra `libcamera` component from the path and adds the corresponding directory from the build directory as well since that is an implicit include directory added by meson. Signed-off-by: Barnabás Pőcze Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- Documentation/Doxyfile-common.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/Doxyfile-common.in b/Documentation/Doxyfile-common.in index 045c19dd6..58afea1cd 100644 --- a/Documentation/Doxyfile-common.in +++ b/Documentation/Doxyfile-common.in @@ -57,7 +57,8 @@ GENERATE_LATEX = NO MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES -INCLUDE_PATH = "@TOP_SRCDIR@/include/libcamera" +INCLUDE_PATH = "@TOP_BUILDDIR@/include" \ + "@TOP_SRCDIR@/include" INCLUDE_FILE_PATTERNS = *.h IMAGE_PATH = "@TOP_SRCDIR@/Documentation/images"