diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-07-19 20:03:41 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-07-23 16:30:35 -0400 |
commit | 9390e5cddb563b244cdc138fcbd77586e66be73c (patch) | |
tree | 58a1f937e32ed4ed5ad14243ac110e824fdab829 | |
parent | 2091de2221e9640b2816c7896ece7c6cb1a108b7 (diff) | |
download | trace-cmd-9390e5cddb563b244cdc138fcbd77586e66be73c.tar.gz |
trace-cmd: Allow overriding of python installation directory
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.
Link: http://lore.kernel.org/linux-trace-devel/20190720030344.1991393-2-chutzpah@gentoo.org
Signed-off-by: Patrick McLean <patrick.mclean@sony.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))' |