[goffice] Introspection: make things a little bit more prefix friendly.



commit 1f0bb2e5ff6532dc5f2b65a5be0ba921921c2f15
Author: Morten Welinder <terra gnome org>
Date:   Tue Feb 26 13:21:30 2013 -0500

    Introspection: make things a little bit more prefix friendly.

 goffice/Makefile.am |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/goffice/Makefile.am b/goffice/Makefile.am
index e520e5d..89cd3d7 100644
--- a/goffice/Makefile.am
+++ b/goffice/Makefile.am
@@ -1,6 +1,7 @@
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
 INTROSPECTION_SCANNER_ARGS = \
+       --add-include-path="${INTROSPECTION_GIRDIR}" \
        -v --warn-all --accept-unprefixed -DGOFFICE_DISABLE_DEPRECATED \
        --namespace GOffice --nsversion="@GOFFICE_API_VER@" \
        --identifier-prefix="GO"  --identifier-prefix="Go" \
@@ -8,7 +9,8 @@ INTROSPECTION_SCANNER_ARGS = \
 
 INTROSPECTION_COMPILER_ARGS = \
        --includedir=$(srcdir) \
-    --includedir=.
+       --includedir=. \
+       --includedir="${INTROSPECTION_GIRDIR}"
 
 #####################################
 #app directory files
@@ -628,7 +630,7 @@ GOffice_ GOFFICE_API_VER_@_gir_FILES = \
        $(graph_HEADERS) \
        $(math_HEADERS) \
        $(utils_HEADERS)
-       
+
 if WITH_GTK
 GOffice_ GOFFICE_API_VER_@_gir_FILES += \
        $(canvas_gtk_HEADERS) \
@@ -636,7 +638,7 @@ GOffice_ GOFFICE_API_VER_@_gir_FILES += \
        $(graph_gtk_HEADERS) \
        $(gtk_HEADERS)
 endif
-       
+
 if GOFFICE_WITH_LASEM
 GOffice_ GOFFICE_API_VER_@_gir_FILES += \
        $(graph_lasem_HEADERS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]