aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index db270ac..ad2d708 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,8 @@ endif
51ifeq ($(shell sh -c "python-config --includes > /dev/null 2>&1 && echo y"), y) 51ifeq ($(shell sh -c "python-config --includes > /dev/null 2>&1 && echo y"), y)
52 PYTHON_PLUGINS := plugin_python.so 52 PYTHON_PLUGINS := plugin_python.so
53 BUILD_PYTHON := python python-plugin 53 BUILD_PYTHON := python python-plugin
54 PYTHON_SO_INSTALL := ctracecmd.install
55 PYTHON_PY_INSTALL := event-viewer.install tracecmd.install tracecmdgui.install
54endif 56endif
55 57
56ifeq ("$(origin O)", "command line") 58ifeq ("$(origin O)", "command line")
@@ -426,7 +428,15 @@ $(PLUGINS_INSTALL): %.install : %.so force
426 428
427install_plugins: $(PLUGINS_INSTALL) 429install_plugins: $(PLUGINS_INSTALL)
428 430
429install_cmd: all_cmd install_plugins 431$(PYTHON_SO_INSTALL): %.install : %.so force
432 $(Q)$(call do_install, $<, '$(python_dir_SQ)')
433
434$(PYTHON_PY_INSTALL): %.install : %.py force
435 $(Q)$(call do_install, $<, '$(python_dir_SQ)')
436
437install_python: $(PYTHON_SO_INSTALL) $(PYTHON_PY_INSTALL)
438
439install_cmd: all_cmd install_plugins install_python
430 $(Q)$(call do_install, trace-cmd, '$(bindir_SQ)') 440 $(Q)$(call do_install, trace-cmd, '$(bindir_SQ)')
431 441
432install: install_cmd 442install: install_cmd