[tip:perf/core] tools lib traceevent: Remove hard coded install paths from pkg-config file

tip-bot for Tzvetomir Stoyanov
2019-05-18T08:49:03Z

Commit-ID: 53dbabfe50262eeebb56ce18789c3c885f15e6ac
Gitweb: https://git.kernel.org/tip/53dbabfe50262eeebb56ce18789c3c885f15e6ac
Author: Tzvetomir Stoyanov <tstoyanov@vmware.com>
AuthorDate: Thu, 18 Apr 2019 21:15:56 -0400
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 15 May 2019 16:36:46 -0300

tools lib traceevent: Remove hard coded install paths from pkg-config file

Install directories of header and library files are hard coded in
pkg-config template file.

They must be configurable, the Makefile should set them on the
compilation / install stage.

Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190418211556.5a12adc3@oasis.local.home
Link: http://lkml.kernel.org/r/20190329144546.5819-1-tstoyanov@vmware.com
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/lib/traceevent/Makefile | 13 +++++++++----
tools/lib/traceevent/libtraceevent.pc.template | 4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
index 941761d9923d..34cf33a4f001 100644