lkml.org 
[lkml]   [2013]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/6] tools lib traceevent: Remove unused install targets
    Date
    From: Namhyung Kim <namhyung.kim@lge.com>

    The html_install, img_install, install_plugin and install_python are
    unused in the Makefile. Get rid of them.

    Cc: Steven Rostedt <rostedt@goodmig.org>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: Namhyung Kim <namhyung@kernel.org>
    ---
    tools/lib/traceevent/Makefile | 9 ++-------
    1 file changed, 2 insertions(+), 7 deletions(-)

    diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
    index 0b0a90787db6..fd7510d99583 100644
    --- a/tools/lib/traceevent/Makefile
    +++ b/tools/lib/traceevent/Makefile
    @@ -39,13 +39,8 @@ bindir_relative = bin
    bindir = $(prefix)/$(bindir_relative)
    man_dir = $(prefix)/share/man
    man_dir_SQ = '$(subst ','\'',$(man_dir))'
    -html_install = $(prefix)/share/kernelshark/html
    -html_install_SQ = '$(subst ','\'',$(html_install))'
    -img_install = $(prefix)/share/kernelshark/html/images
    -img_install_SQ = '$(subst ','\'',$(img_install))'

    -export man_dir man_dir_SQ html_install html_install_SQ INSTALL
    -export img_install img_install_SQ
    +export man_dir man_dir_SQ INSTALL
    export DESTDIR DESTDIR_SQ

    # copy a bit from Linux kbuild
    @@ -300,7 +295,7 @@ define do_install
    $(INSTALL) $1 '$(DESTDIR_SQ)$2'
    endef

    -install_lib: all_cmd install_plugins install_python
    +install_lib: all_cmd
    $(Q)$(call do_install,$(LIB_FILE),$(bindir_SQ))

    install: install_lib
    --
    1.7.11.7


    \
     
     \ /
      Last update: 2013-04-11 15:41    [W:0.022 / U:0.628 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site