Skip to content

Commit

Permalink
build: Install plugin_python.so if available
Browse files Browse the repository at this point in the history
If the plugin_python.so is built, then install it too.

Signed-off-by: Steven Rostedt <[email protected]>
  • Loading branch information
Steven Rostedt authored and rostedt committed Jun 4, 2010
1 parent b44f2d6 commit 6dd3579
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ endif

# Can build python?
ifeq ($(shell sh -c "python-config --includes > /dev/null 2>&1 && echo y"), y)
PYTHON_PLUGINS := plugin_python.so
BUILD_PYTHON := python python-plugin
endif

Expand Down Expand Up @@ -402,7 +403,7 @@ TAGS: force
$(RM) TAGS
find . -name '*.[ch]' | xargs etags

PLUGINS_INSTALL = $(subst .so,.install,$(PLUGINS))
PLUGINS_INSTALL = $(subst .so,.install,$(PLUGINS)) $(subst .so,.install,$(PYTHON_PLUGINS))

define do_install
$(print_install) \
Expand Down

0 comments on commit 6dd3579

Please sign in to comment.