examples: use child directory as name
authorAli Alnubani <alialnu@mellanox.com>
Thu, 23 May 2019 17:40:38 +0000 (17:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 Jun 2019 10:34:36 +0000 (12:34 +0200)
commit711d11c696d9cf2ef8ea9cd8405dc8484d3056d7
tree66b16663fa956a971ce903310a2a5ddf7c143dfa
parentb11d5de0d552e08e3c55968fc5238f33a4196d5c
examples: use child directory as name

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>
Acked-by: Luca Boccassi <bluca@debian.org>
examples/meson.build