From 137f03b9a34fb39e5321524ab11fa31276458476 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 29 Oct 2013 09:05:51 +0100 Subject: Use ConfigurePaths to get installation paths The advantage is twofold: 1) we have a clear separation between setting up the paths and actually using them, 2) the interface is very likely as configure scripts and makes integration into build system a bit easier. --- src/libuca.pc.in | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/libuca.pc.in') diff --git a/src/libuca.pc.in b/src/libuca.pc.in index 3ca4dbe..14a9361 100644 --- a/src/libuca.pc.in +++ b/src/libuca.pc.in @@ -1,14 +1,13 @@ -# Package Information for pkg-config - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir_old=@includedir@/uca -includedir_new=@includedir@ +prefix=@UCA_PREFIX@ +exec_prefix=@UCA_EPREFIX@ +libdir=@UCA_LIBDIR@ +includedir=@UCA_INCLUDEDIR@ +girdir=@UCA_GIRDIR@ +typelibdir=@UCA_TYPELIBDIR@ Name: libuca Description: @UCA_DESCRIPTION@ -Version: @VERSION@ +Version: @UCA_VERSION_STRING@ Libs: -L${libdir} -luca -Cflags: -I${includedir_old} -I${includedir_new} +Cflags: -I${includedir} Requires: glib-2.0 gobject-2.0 -- cgit v1.2.3