From: Ali Alnubani <alialnu@mellanox.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "bruce.richardson@intel.com" <bruce.richardson@intel.com>,
"bluca@debian.org" <bluca@debian.org>
Subject: [dpdk-dev] [PATCH 1/2] examples: strip directory and use suffix as name
Date: Thu, 23 May 2019 17:40:38 +0000 [thread overview]
Message-ID: <20190523174018.2873-1-alialnu@mellanox.com> (raw)
In-Reply-To: <20190523145358.1492-1-alialnu@mellanox.com>
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.
Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
---
examples/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 += '-D_GNU_SOURCE'
foreach example: examples
- name = example
+ name = example.split('/')[-1]
build = true
sources = []
allow_experimental_apis = false
--
2.19.2
next prev parent reply other threads:[~2019-05-23 17:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-23 14:54 Ali Alnubani
2019-05-23 14:54 ` [dpdk-dev] [PATCH 2/2] examples: enable building multiprocess applications Ali Alnubani
2019-05-23 15:32 ` Bruce Richardson
2019-05-23 17:54 ` Ali Alnubani
2019-05-23 17:40 ` Ali Alnubani [this message]
2019-05-23 17:40 ` Ali Alnubani
2019-05-23 18:42 ` Luca Boccassi
2019-06-04 10:36 ` Thomas Monjalon
2019-05-23 18:42 ` [dpdk-dev] [PATCH 1/2] examples: strip directory and use suffix as name Luca Boccassi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190523174018.2873-1-alialnu@mellanox.com \
--to=alialnu@mellanox.com \
--cc=bluca@debian.org \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).