diff options
| author | Steven Rostedt <srostedt@redhat.com> | 2010-06-04 10:07:43 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2010-06-04 13:51:27 -0400 |
| commit | 6dd3579c4892e5ebffbbda5f54c4ba9c55bc64d0 (patch) | |
| tree | 6426641091c42845b5e6ec32f3d642507abaccf7 /Makefile | |
| parent | b44f2d6da7fddd7a6f51a7b235e9bfe28e36fdce (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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -45,6 +45,7 @@ endif | |||
| 45 | 45 | ||
| 46 | # Can build python? | 46 | # Can build python? |
| 47 | ifeq ($(shell sh -c "python-config --includes > /dev/null 2>&1 && echo y"), y) | 47 | ifeq ($(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 |
| 49 | endif | 50 | endif |
| 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 | ||
| 405 | PLUGINS_INSTALL = $(subst .so,.install,$(PLUGINS)) | 406 | PLUGINS_INSTALL = $(subst .so,.install,$(PLUGINS)) $(subst .so,.install,$(PYTHON_PLUGINS)) |
| 406 | 407 | ||
| 407 | define do_install | 408 | define do_install |
| 408 | $(print_install) \ | 409 | $(print_install) \ |
