From patchwork Sat Jun 8 11:14:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 1378 Return-Path: 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 934856B7E4 for ; Sat, 8 Jun 2019 13:14:18 +0200 (CEST) Received: from pendragon.home (unknown [IPv6:2a02:a03f:44f0:8500:ca05:8177:199c:fed4]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2F6735D for ; Sat, 8 Jun 2019 13:14:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1559992458; bh=rw0EqOSFmzGt/YGnkLJycTCL4+Sv3PRP/p8hYT9LFI8=; h=From:To:Subject:Date:From; b=Kauw75bnFF0Xiw5pOy5Tzeb8dVnaYD9AkpTfW8nUnWAI/U94Mw+7h5qDhfEMGFDrD dA6Nn0nfJkut0O5HT1/FHJLkvhvPgIyg2LaVF6iFShXz/2SrLGN3Y2p1s3wHmX2cgo XW40AY9mol1KI2WFr4wxLQfEkLS65/SFow1BZ7kc= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Sat, 8 Jun 2019 14:14:00 +0300 Message-Id: <20190608111400.8480-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] Documentation: Use absolute paths for Doxygen EXCLUDE files X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2019 11:14:18 -0000 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 Reviewed-by: Kieran Bingham --- 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