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 DDE5145748; Tue, 6 Aug 2024 08:14:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E53E340A87; Tue, 6 Aug 2024 08:14:13 +0200 (CEST) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mails.dpdk.org (Postfix) with ESMTP id 7947A40A67 for ; Tue, 6 Aug 2024 08:14:09 +0200 (CEST) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52f0277daa5so253136e87.0 for ; Mon, 05 Aug 2024 23:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1722924849; x=1723529649; 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=fixetG1DLYzQOijQDFhcuMeD4nkTkavPVVtuVWicyOkq2YNH0sc6z/3W9AERj38pW2 yFQVLUJz6HhpD6LqLCWwgi/vrDAjqhko05gZ73Vwv7LGq6LYpc+bK3mVPAoGaPyEX6L/ Y6z7ziygvnraPfcpqQ4myyZK0eaGWVsZU3tt4OkiG9MlsmwY2J0YJvkS+fG2+flaAkLq A4iL2bg33RCYVA951UwR/pwFUhoGw9NPZIfFX/SD5vLoNVa/dzLt6WEFDI6NKZMEl3D4 AB5HjHwdSogocQoeBoxPGFF9q7OVjyfMYlONxeahoIQxv7fREH/C/ygYx3G1Zaako9SF B8AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722924849; x=1723529649; 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=A5wHcgYJBb9ZWaopgEZw6tii22cBzqbzC8j3qSyHE7Riv1lo0YJ5U9B3ylmNMD2uTt lPOWMZjn0hldeyX0WajDtVtASz4v6vtaRZgcTqYcuTxOEoUoaBOdGh+dK2u8t5cS/8pk UuPp4TGQIKjZaRLxB4UUq99+l3hs6l2HiUDrNkB/6l/cZEwmNgmcbRhaIBGOQvHSdKhs 0M782zej0/LPgQcWYZJleJeFZFmrzUdUyyhlbGHl+RX0IzcLMVzimRcw2UsBs2TpT7YJ h/Lnwr8tMZ8u3kO6rQrKB4ozDQnvfDPalA0xr3GtCKLJQY4rUwqHeGO2HtaJekoG0M1b /4pg== X-Gm-Message-State: AOJu0YxqXHvvfW7zlVh/W/l5wD2TuMI9JuCOkJqnluQNHdorqHYfC3bD 5U2/MHHg1LQ+Kiw3Bd8p3eVnx1g7Lj1vTOLGNw/xHd1sOv7/Is9JtY93/+KlukQ= X-Google-Smtp-Source: AGHT+IET3F9OLQ6egC00ndypvP9k3x5dlZJl4CQKtdliKIuumQgvCiJUU7Swa5cnBSv1bjTHou29EQ== X-Received: by 2002:a05:6512:128e:b0:52c:d9b3:2b06 with SMTP id 2adb3069b0e04-530bb3b31damr9506619e87.58.1722924848798; Mon, 05 Aug 2024 23:14:08 -0700 (PDT) Received: from localhost.localdomain ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9d515fesm514951466b.107.2024.08.05.23.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 23:14:08 -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 v12 4/5] doc: meson doc API build dir variable Date: Tue, 6 Aug 2024 08:14:00 +0200 Message-Id: <20240806061401.222164-5-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240806061401.222164-1-juraj.linkes@pantheon.tech> References: <20231115133606.42081-1-juraj.linkes@pantheon.tech> <20240806061401.222164-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