From: Patrick McLean <patrick.mclean@xxxxxxxx> The current Makefile hardcodes the python module install directory, so packages can't put them in their distro's perferred location. This allows the directory to be overriden on the command line. Signed-off-by: Patrick McLean <patrick.mclean@xxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad74a96..3579f27 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ python_dir = $(HOME)/.trace-cmd/python var_dir = $(HOME)/.trace-cmd/ else plugin_dir = $(libdir)/trace-cmd/plugins -python_dir = $(libdir)/trace-cmd/python +python_dir ?= $(libdir)/trace-cmd/python PLUGIN_DIR = -DPLUGIN_DIR="$(plugin_dir)" PYTHON_DIR = -DPYTHON_DIR="$(python_dir)" PLUGIN_DIR_SQ = '$(subst ','\'',$(PLUGIN_DIR))' -- 2.22.0
![]() |