diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-06-07 04:48:14 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-06-07 10:04:53 -0400 |
commit | b31973ab0712758efc041c1ce09bc1fa6bc9fc67 (patch) | |
tree | bee3dd3f3868d88819c67f9b7db8c59ae2b9389b /Makefile | |
parent | 7efc6c46b8eddf711060c542df17b9269d559db4 (diff) |
trace-cmd: quote path definitions
Rather than using MAKE_STR(), quote path definitions on the command
line so that the preprocessor sees a string already. This avoids problems
with path names that aren't valid expressions.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,8 +32,8 @@ python_dir = $(HOME)/.trace-cmd/python | |||
32 | else | 32 | else |
33 | plugin_dir = $(prefix)/share/trace-cmd/plugins | 33 | plugin_dir = $(prefix)/share/trace-cmd/plugins |
34 | python_dir = $(prefix)/share/trace-cmd/python | 34 | python_dir = $(prefix)/share/trace-cmd/python |
35 | PLUGIN_DIR = -DPLUGIN_DIR=$(plugin_dir) | 35 | PLUGIN_DIR = -DPLUGIN_DIR="$(plugin_dir)" |
36 | PYTHON_DIR = -DPYTHON_DIR=$(python_dir) | 36 | PYTHON_DIR = -DPYTHON_DIR="$(python_dir)" |
37 | PLUGIN_DIR_SQ = '$(subst ','\'',$(PLUGIN_DIR))' | 37 | PLUGIN_DIR_SQ = '$(subst ','\'',$(PLUGIN_DIR))' |
38 | PYTHON_DIR_SQ = '$(subst ','\'',$(PYTHON_DIR))' | 38 | PYTHON_DIR_SQ = '$(subst ','\'',$(PYTHON_DIR))' |
39 | endif | 39 | endif |