From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 1A1AFA05D3 for ; Thu, 23 May 2019 20:42:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 059205689; Thu, 23 May 2019 20:42:19 +0200 (CEST) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id 7FFE314EC for ; Thu, 23 May 2019 20:42:17 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id 198so6883844wme.3 for ; Thu, 23 May 2019 11:42:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=AlMcGB7T/y8YXasiEvV3V1cXRgmWTVe3LSLDXxJTA5o=; b=O+ZWP/PcV51JViFtMmGaF1aL+UNqHPi00VxF+/OTwHet8KuxgBYB9mJNlDHU6cqpvI Ql9rN9mNj7ticSk3JXBx+GMo/+3nz8fflQ6uJTD+uiNjNVnW1Zb+0icp1m0IRsWVXuZJ m4mhUf7QnWvozIrMp0e3nhxPa+C3dZt5SrJXqqtB2y4UtEpdZUZ31JlZOg3CGePCBtpd WmqmFXUwCgNpvLDOPD0VW75ChwOr+ZnBN8qTQ4BmGf4ez4bfaDNWyr+eWEmmKtmFI8FO rAl1dtFpLbYRW1rjxnyW7X/seWNKgmI6fOZQ8iwqWngHXwVNO6n7fEsZqt4R7Ooemu25 OBVA== X-Gm-Message-State: APjAAAVjWkB+DWNkUCjDeDaSdz9adQKu7uBw3inDuJHtYqPQEYqnvX9x 6x/hqdagS73Ild3m15JzDcU= X-Google-Smtp-Source: APXvYqx1qTSZ874HoO06DRZnifRjJwR9FGBqwBgwfl/n43wGWhIn37t6CKtucwopa56TfPMDjUo/aA== X-Received: by 2002:a1c:9c8c:: with SMTP id f134mr12402667wme.95.1558636937101; Thu, 23 May 2019 11:42:17 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id n2sm100584wro.13.2019.05.23.11.42.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 May 2019 11:42:16 -0700 (PDT) Message-ID: <8aa59f49db8df6d7ced43610a81d54d17d359342.camel@debian.org> From: Luca Boccassi To: Ali Alnubani , "dev@dpdk.org" Date: Thu, 23 May 2019 19:42:15 +0100 In-Reply-To: <20190523174018.2873-1-alialnu@mellanox.com> References: <20190523145358.1492-1-alialnu@mellanox.com> <20190523174018.2873-1-alialnu@mellanox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] examples: strip directory and use suffix as name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 2019-05-23 at 17:40 +0000, Ali Alnubani wrote: > This would allow correctly naming an application residing > in a subdirectory. For example, if the example is set to > 'path/to/app', > then the name would be 'app'. > This doesn't affect the naming of an example that isn't in a > subdirectory. >=20 > Signed-off-by: Ali Alnubani < > alialnu@mellanox.com > > > --- > examples/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/examples/meson.build b/examples/meson.build > index de35656d4..53a786eb4 100644 > --- a/examples/meson.build > +++ b/examples/meson.build > @@ -64,7 +64,7 @@ endif > default_cflags +=3D '-D_GNU_SOURCE' > =20 > foreach example: examples > - name =3D example > + name =3D example.split('/')[-1] > build =3D true > sources =3D [] > allow_experimental_apis =3D false > --=20 > 2.19.2 Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi