[gobject-introspection] Use ${datadir} in lieu of hardcoding ${prefix}/share
- From: Johan Dahlin <johan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Use ${datadir} in lieu of hardcoding ${prefix}/share
- Date: Wed, 2 Dec 2009 12:42:21 +0000 (UTC)
commit 7b52d73bf77f54ff22e7c7e689a53cd9b724efbd
Author: Christian Persch <chpe gnome org>
Date: Mon Nov 16 13:09:18 2009 +0100
Use ${datadir} in lieu of hardcoding ${prefix}/share
Bug #602087.
gobject-introspection-1.0.pc.in | 4 +++-
gobject-introspection-no-export-1.0.pc.in | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gobject-introspection-1.0.pc.in b/gobject-introspection-1.0.pc.in
index f3f6004..f9c85f7 100644
--- a/gobject-introspection-1.0.pc.in
+++ b/gobject-introspection-1.0.pc.in
@@ -2,12 +2,14 @@ prefix= prefix@
exec_prefix= exec_prefix@
libdir= libdir@
bindir= bindir@
+datarootdir= datarootdir@
+datadir= datadir@
includedir= includedir@
g_ir_scanner=${bindir}/g-ir-scanner
g_ir_compiler=${bindir}/g-ir-compiler
g_ir_generate=${bindir}/g-ir-generate
-girdir=${prefix}/share/gir-1.0
+girdir=${datadir}/gir-1.0
typelibdir=${libdir}/girepository-1.0
Cflags: -I${includedir}/gobject-introspection-1.0
diff --git a/gobject-introspection-no-export-1.0.pc.in b/gobject-introspection-no-export-1.0.pc.in
index 90da475..54deae0 100644
--- a/gobject-introspection-no-export-1.0.pc.in
+++ b/gobject-introspection-no-export-1.0.pc.in
@@ -2,12 +2,14 @@ prefix= prefix@
exec_prefix= exec_prefix@
libdir= libdir@
bindir= bindir@
+datarootdir= datarootdir@
+datadir= datadir@
includedir= includedir@
g_ir_scanner=${bindir}/g-ir-scanner
g_ir_compiler=${bindir}/g-ir-compiler
g_ir_generate=${bindir}/g-ir-generate
-girdir=${prefix}/share/gir-1.0
+girdir=${datadir}/gir-1.0
typelibdir=${libdir}/girepository-1.0
Cflags: -I${includedir}/gobject-introspection-1.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]