|
@@ -55,15 +55,15 @@ set_plugin_dir := 1
|
|
|
|
|
|
|
|
# Set plugin_dir to preffered global plugin location
|
|
# Set plugin_dir to preffered global plugin location
|
|
|
# If we install under $HOME directory we go under
|
|
# If we install under $HOME directory we go under
|
|
|
-# $(HOME)/.traceevent/plugins
|
|
|
|
|
|
|
+# $(HOME)/.local/lib/traceevent/plugins
|
|
|
#
|
|
#
|
|
|
# We dont set PLUGIN_DIR in case we install under $HOME
|
|
# We dont set PLUGIN_DIR in case we install under $HOME
|
|
|
# directory, because by default the code looks under:
|
|
# directory, because by default the code looks under:
|
|
|
-# $(HOME)/.traceevent/plugins by default.
|
|
|
|
|
|
|
+# $(HOME)/.local/lib/traceevent/plugins by default.
|
|
|
#
|
|
#
|
|
|
ifeq ($(plugin_dir),)
|
|
ifeq ($(plugin_dir),)
|
|
|
ifeq ($(prefix),$(HOME))
|
|
ifeq ($(prefix),$(HOME))
|
|
|
-override plugin_dir = $(HOME)/.traceevent/plugins
|
|
|
|
|
|
|
+override plugin_dir = $(HOME)/.local/lib/traceevent/plugins
|
|
|
set_plugin_dir := 0
|
|
set_plugin_dir := 0
|
|
|
else
|
|
else
|
|
|
override plugin_dir = $(libdir)/traceevent/plugins
|
|
override plugin_dir = $(libdir)/traceevent/plugins
|