From 06be3e84bd1bf7016a85d4aff5d7851b17d1b16d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 22 Mar 2021 14:45:47 +1000 Subject: meson/autotools: run the hwdb-generator explicitly through python This punts the responsibility of finding where python is to the build system instead of the shebang in the script itself. Signed-off-by: Peter Hutterer --- tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index 280ccdd..d08ec97 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -32,7 +32,7 @@ udev_hwdbdir=$(UDEV_DIR)/hwdb.d dist_udev_hwdb_DATA = $(hwdb) $(hwdb): $(srcdir)/generate-hwdb.py - $(srcdir)/generate-hwdb.py --include-wireless-accessory-kit $(abs_top_srcdir)/data > $@ + $(PYTHON) $(srcdir)/generate-hwdb.py --include-wireless-accessory-kit $(abs_top_srcdir)/data > $@ bin_SCRIPTS = libwacom-show-stylus libwacom-show-stylus: show-stylus.py -- cgit v1.2.1