2019-04-27 12:34:05 +01:00
|
|
|
diff --git a/Makefile b/Makefile
|
2021-03-11 12:12:34 +00:00
|
|
|
index b034042..b8a06bc 100644
|
2019-04-27 12:34:05 +01:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2021-03-11 12:12:34 +00:00
|
|
|
@@ -338,6 +338,7 @@ libtracefs.a: $(LIBTRACEFS_STATIC)
|
|
|
|
libtracefs.so: $(LIBTRACEFS_SHARED)
|
2019-04-27 12:34:05 +01:00
|
|
|
|
2021-03-11 12:12:34 +00:00
|
|
|
libs: $(LIBTRACECMD_SHARED) $(LIBTRACEEVENT_SHARED) $(LIBTRACEFS_SHARED)
|
|
|
|
+libs: $(LIBTRACECMD_STATIC) $(LIBTRACEEVENT_STATIC) $(LIBTRACEFS_STATIC)
|
2019-04-27 12:34:05 +01:00
|
|
|
|
2021-03-11 12:12:34 +00:00
|
|
|
test: force $(LIBTRACEEVENT_STATIC) $(LIBTRACEFS_STATIC) $(LIBTRACECMD_STATIC)
|
|
|
|
ifneq ($(CUNIT_INSTALLED),1)
|
|
|
|
@@ -414,6 +415,9 @@ install_libs: libs
|
2019-10-26 13:35:38 +01:00
|
|
|
$(Q)$(call do_install,$(LIBTRACECMD_SHARED),$(libdir_SQ)/trace-cmd)
|
|
|
|
$(Q)$(call do_install,$(LIBTRACEEVENT_SHARED),$(libdir_SQ)/traceevent)
|
2021-03-11 12:12:34 +00:00
|
|
|
$(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)/tracefs)
|
2019-10-26 13:35:38 +01:00
|
|
|
+ $(Q)$(call do_install,$(LIBTRACECMD_STATIC),$(libdir_SQ)/trace-cmd)
|
|
|
|
+ $(Q)$(call do_install,$(LIBTRACEEVENT_STATIC),$(libdir_SQ)/traceevent)
|
2021-03-11 12:12:34 +00:00
|
|
|
+ $(Q)$(call do_install,$(LIBTRACEFS_STATIC),$(libdir_SQ)/tracefs)
|
2019-07-25 20:30:46 +01:00
|
|
|
$(Q)$(call do_install,$(src)/include/traceevent/event-parse.h,$(includedir_SQ)/traceevent)
|
|
|
|
$(Q)$(call do_install,$(src)/include/traceevent/trace-seq.h,$(includedir_SQ)/traceevent)
|
2019-10-26 13:35:38 +01:00
|
|
|
$(Q)$(call do_install,$(src)/include/trace-cmd/trace-cmd.h,$(includedir_SQ)/trace-cmd)
|
|
|
|
diff --git a/kernel-shark/src/CMakeLists.txt b/kernel-shark/src/CMakeLists.txt
|
2021-03-11 12:12:34 +00:00
|
|
|
index 457c100..687e150 100644
|
2019-10-26 13:35:38 +01:00
|
|
|
--- a/kernel-shark/src/CMakeLists.txt
|
|
|
|
+++ b/kernel-shark/src/CMakeLists.txt
|
2021-03-11 12:12:34 +00:00
|
|
|
@@ -92,7 +92,7 @@ if (Qt5Widgets_FOUND AND Qt5Network_FOUND)
|
2019-10-26 13:35:38 +01:00
|
|
|
DESTINATION ${_INSTALL_PREFIX}/share/icons/${KS_APP_NAME})
|
2019-04-27 12:34:05 +01:00
|
|
|
|
2019-10-26 13:35:38 +01:00
|
|
|
install(FILES "${KS_DIR}/org.freedesktop.kshark-record.policy"
|
|
|
|
- DESTINATION /usr/share/polkit-1/actions/)
|
|
|
|
+ DESTINATION ${_INSTALL_PREFIX}/share/polkit-1/actions/)
|
2019-04-27 12:34:05 +01:00
|
|
|
|
2019-10-26 13:35:38 +01:00
|
|
|
install(PROGRAMS "${KS_DIR}/bin/kshark-su-record"
|
|
|
|
DESTINATION ${_INSTALL_PREFIX}/bin/)
|