From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> Currently, when doing "make install_libs" the output looks like: INSTALL /tmp/build/lib/trace-cmd/libtracecmd.so.0.0.1 to /usr/local/lib64 cp -fpR /tmp/build/lib/trace-cmd/libtracecmd.so.0 '/usr/local/lib64' cp -fpR /tmp/build/lib/trace-cmd/libtracecmd.so '/usr/local/lib64' INSTALL /work/git/trace-cmd.git/include/trace-cmd/trace-cmd.h to /usr/local/include/trace-cmd Have it look like: INSTALL /tmp/build/lib/trace-cmd/libtracecmd.so.0.0.1 to /usr/local/lib64 INSTALL /tmp/build/lib/trace-cmd/libtracecmd.so.0 to /usr/local/lib64 INSTALL /tmp/build/lib/trace-cmd/libtracecmd.so to /usr/local/lib64 INSTALL /work/git/trace-cmd.git/include/trace-cmd/trace-cmd.h to /usr/local/include/trace-cmd Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- lib/trace-cmd/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/trace-cmd/Makefile b/lib/trace-cmd/Makefile index a26b989a2c82..3b8087f66db5 100644 --- a/lib/trace-cmd/Makefile +++ b/lib/trace-cmd/Makefile @@ -86,8 +86,10 @@ endif # DESTDIR = "" install_libs: $(Q)$(call do_install,$(LIBTRACECMD_SHARED),$(libdir_SQ)) - cp -fpR $(LIBTRACECMD_SHARED_VERSION) $(DESTDIR)$(libdir_SQ) - cp -fpR $(LIBTRACECMD_SHARED_SO) $(DESTDIR)$(libdir_SQ) + $(Q)$(call print_install,$(LIBTRACECMD_SHARED_VERSION),$(DESTDIR)$(libdir_SQ)) + $(Q)cp -fpR $(LIBTRACECMD_SHARED_VERSION) $(DESTDIR)$(libdir_SQ) + $(Q)$(call print_install,$(LIBTRACECMD_SHARED_SO),$(DESTDIR)$(libdir_SQ)) + $(Q)cp -fpR $(LIBTRACECMD_SHARED_SO) $(DESTDIR)$(libdir_SQ) $(Q)$(call do_install,$(src)/include/trace-cmd/trace-cmd.h,$(includedir_SQ)/trace-cmd) $(Q)$(call install_ld_config) -- 2.29.2