[PATCH libinput] tools: fake-build the measure touch-pressure/size sources
Emil Velikov
emil.l.velikov at gmail.com
Tue Jun 26 14:27:16 UTC 2018
On 21 June 2018 at 05:56, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> This way we can make them execute the list-quirks from the builddir.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> If anyone has any good ideas for how to do something similar for C source
> file, I'd appreciate it.
>
Here is the approach used by git (with git-foo as an example)
a) stat `dirname git`../git-core/git-foo
b) stat (for each in $PATH)/git-foo
c) $(pwd)/git-foo
With the first one found, being executed.
So when installed a) kicks in (99% of the time), and while in builddir c) does.
HTH
Emil
More information about the wayland-devel
mailing list