Message ID | 20210409174729.780143e7@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 21da6e13761c3e0b88d88a98b308657ae9694d79 |
Headers | show |
Series | libtraceevent: Update libtraceevent.pc when version changes | expand |
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