From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> "make install" copies libtraceevent.pc.template to libtraceevent.pc and then modifies it for the installation. This command is usually executed as root, and when finished, it leaves behind the libtraceevent.pc file owned by root. Have the "make install" clean up and remove the temporary libtraceevent.pc file, so that root owned files do not get left behind. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 2a6bfcce814f..775fbd2b3f0e 100644 --- a/Makefile +++ b/Makefile @@ -218,6 +218,7 @@ define do_install_pkgconfig_file sed -i "s|LIB_DIR|${libdir}|g" ${PKG_CONFIG_FILE}; \ sed -i "s|HEADER_DIR|$(includedir)|g" ${PKG_CONFIG_FILE}; \ $(call do_install,$(PKG_CONFIG_FILE),$(pkgconfig_dir),644); \ + ${RM} ${PKG_CONFIG_FILE}; \ else \ (echo Failed to locate pkg-config directory) 1>&2; \ fi -- 2.28.0