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 2B370A0C4B; Mon, 22 Nov 2021 21:27:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB94040040; Mon, 22 Nov 2021 21:27:08 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 2F07D4003C for ; Mon, 22 Nov 2021 21:27:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637612827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GqbwcL2g2YaTe0BI2UggPL7qZIAkG1dGQv69FGR8bTY=; b=CdW9nwZd3S1Qns7/ikc5aYRt14JzrAKpTxeyZd1qU1dl6NUtVuu8vI1PVcjZ0vOCh2GrUh O7O9nhN5sFuxHxnUBlgqdoOHc2xuA9tUCcUQGq29cws7sEtoixsKfTdtH7MtZSe0rbOF8k ebK0YVYFzUyW0qFrxYm6N+s91NlBG6M= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-97-6-TixmIRNkOg23TpTiiZyQ-1; Mon, 22 Nov 2021 15:27:06 -0500 X-MC-Unique: 6-TixmIRNkOg23TpTiiZyQ-1 Received: by mail-lf1-f72.google.com with SMTP id n18-20020a0565120ad200b004036c43a0ddso12987574lfu.2 for ; Mon, 22 Nov 2021 12:27:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GqbwcL2g2YaTe0BI2UggPL7qZIAkG1dGQv69FGR8bTY=; b=4nPp+pSgsV4leGjnAHulDWxgD53AWe3fbxkaIfo8zmr7b9kfaUGsckvtr0ORHmGMmY /x3B4+f5I1VW+Su+3VJVsrINUM6lP8yCqyLWYlyPoUas+zi/s/c8PfFXDq4Yl8vnnePz mpBvWPv9q3Gf/roAKz5c6bzObmYHrg187YdeJ02aRubMozl1e6B+IZudyCwcKDQgymuT UqRtmbj/mUNdfwfFhPRRUlcjXEsT8ugrh6clzC8tXbGEFJMrheQrPnrpGhFqtvh32f7t B+4Z03tQljEAllPs6hksR/q/OsV8tIVLwmlgeFzScwb+oUJwlywXPeO9X32OdWnqmRb2 Y8eA== X-Gm-Message-State: AOAM5313YryaFj5D6YyEduX3LLPSkKbISW9ZwBuKkm9TO4fYvhc4kual mb0+SA+kLYjw62UXIGgTpMkYnEr42tEhDzosRwKLEogObZ7XkpCLxsGoxlokflAIaSXGnLTNCTl E1S2D1rU20/SWL4iVzEs= X-Received: by 2002:a05:6512:39c7:: with SMTP id k7mr61002631lfu.571.1637612824814; Mon, 22 Nov 2021 12:27:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWfM9NP8PcFtYtvWUMTP5ojIKo2bYZA8beeBshWoAFwK+75125r17sWgkaDBX8amRiPWwLCOf0/57l88toCqA= X-Received: by 2002:a05:6512:39c7:: with SMTP id k7mr61002588lfu.571.1637612824479; Mon, 22 Nov 2021 12:27:04 -0800 (PST) MIME-Version: 1.0 References: <1f6e95f1c4e148a18d8de8dc25d8bb63c094af60.1637612120.git.tredaelli@redhat.com> In-Reply-To: <1f6e95f1c4e148a18d8de8dc25d8bb63c094af60.1637612120.git.tredaelli@redhat.com> From: Timothy Redaelli Date: Mon, 22 Nov 2021 21:26:53 +0100 Message-ID: Subject: Re: [PATCH] doc: add build_root to STRIP_FROM_PATH To: Ferruh Yigit , Thomas Monjalon Cc: dev@dpdk.org Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=tredaell@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 Fixing the mail address of Thomas Monjalon in To. I used ./devtools/get-maintainer.sh, but it returned the old mail address. On Mon, Nov 22, 2021 at 9:17 PM Timothy Redaelli wrote: > > examples.dox is built inside builddir and so doxygen generates some > dir_HASH.html that includes the builddir name and this may prevent DPDK > documentation to be correctly generated in some distributions, for > example CentOS Stream 9 and RHEL9, since the builddir includes the > architecture. > > This commit adds builddir to STRIP_FROM_PATH in order to avoid > generating html files that includes it. > > Fixes: a6090630f4e5 ("doc: automate examples file list for API") > Cc: ferruh.yigit@intel.com > Signed-off-by: Timothy Redaelli > --- > doc/api/doxy-api.conf.in | 1 + > doc/api/meson.build | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/doc/api/doxy-api.conf.in b/doc/api/doxy-api.conf.in > index db2ca9b6ed..a668cad687 100644 > --- a/doc/api/doxy-api.conf.in > +++ b/doc/api/doxy-api.conf.in > @@ -112,6 +112,7 @@ EXAMPLE_RECURSIVE = YES > > OUTPUT_DIRECTORY = @OUTPUT@ > STRIP_FROM_PATH = @STRIP_FROM_PATH@ > +STRIP_FROM_PATH += @BUILDDIR@ > GENERATE_HTML = YES > HTML_OUTPUT = @HTML_OUTPUT@ > GENERATE_LATEX = NO > diff --git a/doc/api/meson.build b/doc/api/meson.build > index d34c383694..6dda9bec46 100644 > --- a/doc/api/meson.build > +++ b/doc/api/meson.build > @@ -37,6 +37,7 @@ cdata.set('OUTPUT', join_paths(meson.build_root(), 'doc', 'api')) > cdata.set('HTML_OUTPUT', 'html') > cdata.set('TOPDIR', meson.source_root()) > cdata.set('STRIP_FROM_PATH', meson.source_root()) > +cdata.set('BUILDDIR', meson.build_root()) > cdata.set('WARN_AS_ERROR', 'NO') > if get_option('werror') > cdata.set('WARN_AS_ERROR', 'YES') > -- > 2.33.1 > -- Timothy Redaelli Software Engineer Red Hat Italia