Re: [PATCH v2 3/4] devtools: build all examples externally

2023-06-20 Thread David Marchand
On Tue, Jun 20, 2023 at 11:45 AM Thomas Monjalon wrote: > > 13/06/2023 16:06, David Marchand: > > + sed -ne > > "s,$srcdir/examples/\([^/]*\)\(/.*\|\)/$target/Makefile,\1,p" > > I think -e is not needed. Indeed. > If you use -r, you can avoid backslashing the parentheses. -r is not

Re: [PATCH v2 3/4] devtools: build all examples externally

2023-06-20 Thread Thomas Monjalon
13/06/2023 16:06, David Marchand: > + sed -ne > "s,$srcdir/examples/\([^/]*\)\(/.*\|\)/$target/Makefile,\1,p" I think -e is not needed. If you use -r, you can avoid backslashing the parentheses.

[PATCH v2 3/4] devtools: build all examples externally

2023-06-13 Thread David Marchand
So far, users of test-meson-builds.sh had to define their own set of examples to build externally. This is not that great because users need to maintain this list when examples are removed/added. Rework the script so that the 'all' value triggers an automatic discovery based on what was configured