* [PATCH] libtraceevent: Update libtraceevent.pc when version changes
@ 2021-04-09 21:47 Steven Rostedt
0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2021-04-09 21:47 UTC (permalink / raw)
To: Linux Trace Devel
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
When the libtraceevent version changes, the libtraceevent.pc needs to be
updated, otherwise it may install the wrong version number.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
.gitignore | 1 +
Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index c312a39..e203d72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ build_uninstall
*.cmd
*.so
.*.d
+ep_version.h
diff --git a/Makefile b/Makefile
index b617baa..3a1eddb 100644
--- a/Makefile
+++ b/Makefile
@@ -273,7 +273,7 @@ define do_make_pkgconfig_file
sed -i "s|HEADER_DIR|$(includedir_relative)|g" ${PKG_CONFIG_FILE};
endef
-$(PKG_CONFIG_FILE) : ${PKG_CONFIG_SOURCE_FILE}.template $(BUILD_PREFIX)
+$(PKG_CONFIG_FILE) : ${PKG_CONFIG_SOURCE_FILE}.template $(BUILD_PREFIX) $(VERSION_FILES)
$(QUIET_GEN) $(call do_make_pkgconfig_file,$(prefix))
define do_install_pkgconfig_file
--
2.29.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-09 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-09 21:47 [PATCH] libtraceevent: Update libtraceevent.pc when version changes 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).