[PATCH libinput 1.8] tools: Fix race in (autotools) install
Jussi Kukkonen
jussi.kukkonen at intel.com
Wed Aug 9 07:05:14 UTC 2017
exec/data distinction is done based on install dir so compat scripts
must be moved in exec hook.
This should fix this occasional failure:
| install: cannot change permissions of
| ‘/usr/bin/libinput-debug-events.compat’: No such file or directory
Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
Admittedly not terribly interesting for libinput upstream at this point
but maybe useful for other downstream users.
Cheers,
Jussi
tools/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 2c8660b..7ee8b90 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -63,7 +63,7 @@ endif
EXTRA_DIST = make-ptraccel-graphs.sh install-compat-scripts.sh $(bin_SCRIPTS)
-install-data-hook:
+install-exec-hook:
(cd $(DESTDIR)$(bindir) && mv libinput-list-devices.compat libinput-list-devices)
(cd $(DESTDIR)$(bindir) && mv libinput-debug-events.compat libinput-debug-events)
--
2.13.3
More information about the wayland-devel
mailing list