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 4D55045748; Tue, 6 Aug 2024 10:47:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E52742794; Tue, 6 Aug 2024 10:46:33 +0200 (CEST) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mails.dpdk.org (Postfix) with ESMTP id B6D1640ED1 for ; Tue, 6 Aug 2024 10:46:28 +0200 (CEST) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5bb85e90ad5so343551a12.3 for ; Tue, 06 Aug 2024 01:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1722933988; x=1723538788; 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=brwGXPC95FD3tlbKcOcpjg1Vzv89LbS32fn/lOWBprspO5sRrEVWIERroPN7NL/flK C7dNYS2A2IofskJ0txny2ArGtcW9t4IioTeCsw2QHx2QOl2OXy3ohl/CRgcnZqQ5zMHR /4cXF2PH3v7mUsCLxPtgWejDlWWle5PbJL43sQziamBGI9jWlDUIE7sKtPuwGnWmlCwI BNEaNMrZ5vzrkmp4xhCTnzcRRKCcYpHK52K8YvMRCfD8PrESLssBtkbFLDfIklB54fUr jjRMfv2UybbRYvPL4qEvy0LZ/oZEgxV3wZc8MAps7YpjLXpPnbhxGG+ngm+okSs45JoY 5cUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722933988; x=1723538788; 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=ceyK9yk7/kPxDWEj5G6BofedHAg6SijO7ONBvDlGsiMvwLtudr2r1TV5e+r8iINFlX MtA3U39dGSMcCysYtQ740wnLEnqUKEJGW6RTlNiWvrgfLSQblIQW4BH1+yK3dnM15pyn ZKij9ZTJOmq/fXL0cpqgmfdYUJVpuW7zZ+PsWK3QoWbwcFPDo4Wa4vXWFLxmN/+PIqc4 Mqdnm0VMgc5Z8WtWklzCTuYUUpXQk6XUF2WNnO+lzJ94/QjeJ11tEnDRh1FP5y3FPZJh 26Cs/sS5ldzw6tJ2EY9s1PYpqO18BjL58vp9kCXkY/I+DH0/Ex5RIwKzSl0vvmJKxmOo RFCw== X-Gm-Message-State: AOJu0Yx5C10k+8j44EylXKLQurWCL0pgZCe0ICnR4I5CapaJUnyf+P+9 v/nRLjER4E5fCFZpKKLeyvhDpf9A538WSXZa5qglCYoC84HWoldVGGppLC1Nr5c= X-Google-Smtp-Source: AGHT+IHCuny9LBm8kZRuiwdKu3hgElDWqCtt0sJtr2a64BMiuXllEmRreB00Flp2WN9wANxiFBNrYA== X-Received: by 2002:a17:906:cae7:b0:a77:c9cc:f96f with SMTP id a640c23a62f3a-a7dc4d8f4cemr973761566b.7.1722933988327; Tue, 06 Aug 2024 01:46:28 -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 a640c23a62f3a-a7dc9ec350fsm526058866b.189.2024.08.06.01.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 01:46:27 -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 v13 5/6] doc: meson doc API build dir variable Date: Tue, 6 Aug 2024 10:46:21 +0200 Message-Id: <20240806084622.232327-6-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240806084622.232327-1-juraj.linkes@pantheon.tech> References: <20231115133606.42081-1-juraj.linkes@pantheon.tech> <20240806084622.232327-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