aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-06-04 10:07:43 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-06-04 13:51:27 -0400
commit6dd3579c4892e5ebffbbda5f54c4ba9c55bc64d0 (patch)
tree6426641091c42845b5e6ec32f3d642507abaccf7 /Makefile
parentb44f2d6da7fddd7a6f51a7b235e9bfe28e36fdce (diff)
build: Install plugin_python.so if available
If the plugin_python.so is built, then install it too. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dd1eaff..38d5235 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,7 @@ endif
45 45
46# Can build python? 46# Can build python?
47ifeq ($(shell sh -c "python-config --includes > /dev/null 2>&1 && echo y"), y) 47ifeq ($(shell sh -c "python-config --includes > /dev/null 2>&1 && echo y"), y)
48 PYTHON_PLUGINS := plugin_python.so
48 BUILD_PYTHON := python python-plugin 49 BUILD_PYTHON := python python-plugin
49endif 50endif
50 51
@@ -402,7 +403,7 @@ TAGS: force
402 $(RM) TAGS 403 $(RM) TAGS
403 find . -name '*.[ch]' | xargs etags 404 find . -name '*.[ch]' | xargs etags
404 405
405PLUGINS_INSTALL = $(subst .so,.install,$(PLUGINS)) 406PLUGINS_INSTALL = $(subst .so,.install,$(PLUGINS)) $(subst .so,.install,$(PYTHON_PLUGINS))
406 407
407define do_install 408define do_install
408 $(print_install) \ 409 $(print_install) \