linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel-shark-qt: Have "make install_gui" install the Qt KernelShark version
@ 2018-11-28 16:24 Steven Rostedt
  0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2018-11-28 16:24 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Yordan Karadzhov, Slavomir Kaslev, Tzvetomir Stoyanov


Now that the Qt version is the main version for KernelShark, have it be the
one that is installed when passing in the target "install_gui".

Suggested-by: Yordan Karadzhov <ykaradzhov@vmware.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index d58ce0f2..7ee9e0d0 100644
--- a/Makefile
+++ b/Makefile
@@ -251,8 +251,10 @@ all_cmd: $(CMD_TARGETS)
 
 CMAKE_COMMAND = /usr/bin/cmake
 
-gui: force $(CMD_TARGETS)
+$(kshark-dir)/build/Makefile: $(kshark-dir)/CMakeLists.txt
 	$(Q) cd $(kshark-dir)/build && $(CMAKE_COMMAND) ..
+
+gui: force $(CMD_TARGETS) $(kshark-dir)/build/Makefile
 	$(Q)$(MAKE) $(S) -C $(kshark-dir)/build
 	echo "gui build complete"
 	echo "  kernelshark located at $(kshark-dir)/bin"
@@ -337,9 +339,7 @@ install: install_cmd
 	@echo "      to install man pages, type \"make install_doc\""
 
 install_gui: install_cmd gui
-	$(Q)$(call do_install,$(obj)/kernel-shark/trace-view,$(bindir_SQ))
-	$(Q)$(call do_install,$(obj)/kernel-shark/trace-graph,$(bindir_SQ))
-	$(Q)$(call do_install,$(obj)/kernel-shark/kernelshark,$(bindir_SQ))
+	$(Q)$(MAKE) $(S) -C $(kshark-dir)/build install
 
 install_libs: libs
 	$(Q)$(call do_install,$(LIBTRACECMD_SHARED),$(libdir_SQ))
-- 
2.19.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-29  3:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28 16:24 [PATCH] kernel-shark-qt: Have "make install_gui" install the Qt KernelShark version Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).