From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B4F1E4574A; Tue, 6 Aug 2024 13:18:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C5B542E53; Tue, 6 Aug 2024 13:18:06 +0200 (CEST) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mails.dpdk.org (Postfix) with ESMTP id 1373F42E4E for ; Tue, 6 Aug 2024 13:18:05 +0200 (CEST) Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-52efd8807aaso911285e87.3 for ; Tue, 06 Aug 2024 04:18:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1722943084; x=1723547884; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0u47czjlS8cKnnoOqEb2XC8dMYCEsM+tw4z0NtXvHgw=; b=IccJkIILPocI3Jj/FhZmkXYWagii4L0IbfUfEQtlkXj9yd81tHGSXDDeiBWl3czUed qTFmejpw/kyCgLANZUkop1lABj3uRKjRzjh0Zgp5VBvAW77iw/CqrnazwXZign5qb5LI YQzZc0IO64S6M2cO/IrqCkXgGRIerIJ/wy0qVWlSscjleKqyK0S5Luhscm8NiTdlM9xQ TADJ9MLPgsTgXEDrewOrf9XNnMNF9F6wfFpKs/zY7zQ/r9rVFwymuJrWEja9qjX0axto T5XfyfE/3uZi/OKXlATw3s5FV+vDupi5rAe2qqPxqpbHm9w4luq+XF/iZ/qj5tYaKzhF eNdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722943084; x=1723547884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0u47czjlS8cKnnoOqEb2XC8dMYCEsM+tw4z0NtXvHgw=; b=tz/N4523Xbgap8Mj27nDxcUu1pY6uP0hkFz0YzYzvWmfZ24TlFl5vgROoVYRsOEUhC GrXYnVzF+fHjHiUeWOZH1uGxqJv2cgLKtv85GCRTMYMlHvkGX3rArGESo8Rkxt/uIzRm Z2m+kORD47p5sTXKnrYAaHrrt5wffhcp3lRil5ztRpEo2oFiPCyRsVpvQTzmKCM6r2gw MpIBYkHcY164SU6hNfTrMIfccamn/Gx1iI9bfRfH/tgri56kdAbsbiqlfHe8b70hoo9N s5R3KfTcv6wzcP4g3EGrMOU4WsL+iR6SDvHtDYFct2wHWl6QczOi2gdnPyfnk+3mZu6b ZtkA== X-Gm-Message-State: AOJu0Yw3OJJcZ9aLxlzGsZpfHdD6jJxlYznDZXi7dZ9YSO2kYlZEmFdX A6jVyrQIqJYvHhbyVdj9XXGJFcLmFPVABEoXLMRx96jsWl7u9xTygLN3mUseHH8= X-Google-Smtp-Source: AGHT+IGvbNOF+LKbCZQSjq/FDUWdPyYWI9aN0t92aprTXrQYtbM64LWsZwr21g77Q3/mcOeWlbod5A== X-Received: by 2002:ac2:5057:0:b0:530:c1fb:51a1 with SMTP id 2adb3069b0e04-530c1fb5420mr5841786e87.17.1722943084274; Tue, 06 Aug 2024 04:18:04 -0700 (PDT) Received: from jlinkes-PT-Latitude-5530.pantheon.local (81.89.53.154.host.vnet.sk. [81.89.53.154]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bb885c8b57sm2624520a12.96.2024.08.06.04.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:18:04 -0700 (PDT) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, bruce.richardson@intel.com, jspewock@iol.unh.edu, probb@iol.unh.edu, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com, npratte@iol.unh.edu Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= , Luca Vizzarro Subject: [PATCH v14 5/6] doc: meson doc API build dir variable Date: Tue, 6 Aug 2024 13:17:55 +0200 Message-Id: <20240806111756.314055-6-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240806111756.314055-1-juraj.linkes@pantheon.tech> References: <20231115133606.42081-1-juraj.linkes@pantheon.tech> <20240806111756.314055-1-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The three instances of the path 'dpdk_build_root/doc/api' are replaced with a variable, moving the definition to one place. Signed-off-by: Juraj Linkeš Reviewed-by: Luca Vizzarro Reviewed-by: Jeremy Spewock Acked-by: Bruce Richardson Tested-by: Luca Vizzarro Tested-by: Nicholas Pratte --- doc/api/meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/api/meson.build b/doc/api/meson.build index 5b50692df9..b828b1ed66 100644 --- a/doc/api/meson.build +++ b/doc/api/meson.build @@ -1,6 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Luca Boccassi +doc_api_build_dir = meson.current_build_dir() doxygen = find_program('doxygen', required: get_option('enable_docs')) if not doxygen.found() @@ -32,10 +33,10 @@ example = custom_target('examples.dox', # set up common Doxygen configuration cdata = configuration_data() cdata.set('VERSION', meson.project_version()) -cdata.set('API_EXAMPLES', join_paths(dpdk_build_root, 'doc', 'api', 'examples.dox')) -cdata.set('OUTPUT', join_paths(dpdk_build_root, 'doc', 'api')) +cdata.set('API_EXAMPLES', join_paths(doc_api_build_dir, 'examples.dox')) +cdata.set('OUTPUT', doc_api_build_dir) cdata.set('TOPDIR', dpdk_source_root) -cdata.set('STRIP_FROM_PATH', ' '.join([dpdk_source_root, join_paths(dpdk_build_root, 'doc', 'api')])) +cdata.set('STRIP_FROM_PATH', ' '.join([dpdk_source_root, doc_api_build_dir])) cdata.set('WARN_AS_ERROR', 'NO') if get_option('werror') cdata.set('WARN_AS_ERROR', 'YES') -- 2.34.1