[gobject-introspection] Makefile-gir.am: Add explicit g-ir-compiler dependency



commit 57ef2d4fe73c5cdf8500c5761c700638943d1c7d
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 11 16:01:39 2010 -0500

    Makefile-gir.am: Add explicit g-ir-compiler dependency
    
    We need the typelib compiler to be built before we try to
    build typelibs for the static gir files.

 Makefile-gir.am |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-gir.am b/Makefile-gir.am
index 373bb03..169f462 100644
--- a/Makefile-gir.am
+++ b/Makefile-gir.am
@@ -14,6 +14,19 @@ STATIC_GIRSOURCES =               \
         gir/xrandr-1.3.gir
 EXTRA_DIST += $(STATIC_GIRSOURCES)
 
+# Doesn't seem to work to do gir/%.typelib =(
+gir/cairo-1.0.typelib: g-ir-compiler
+gir/DBus-1.0.typelib: g-ir-compiler
+gir/DBusGLib-1.0.typelib: g-ir-compiler
+gir/fontconfig-2.0.typelib: g-ir-compiler
+gir/freetype2-2.0.typelib: g-ir-compiler
+gir/GL-1.0.typelib: g-ir-compiler
+gir/libxml2-2.0.typelib: g-ir-compiler
+gir/xft-2.0.typelib: g-ir-compiler
+gir/xlib-2.0.typelib: g-ir-compiler
+gir/xfixes-4.0.typelib: g-ir-compiler
+gir/xrandr-1.3.typelib: g-ir-compiler
+
 # glib with source (to enable documentation)
 if WITH_GLIBSRC
      GLib_2_0_gir_DOCSRC = $(GLIBSRC)/glib/*.c
@@ -60,7 +73,7 @@ GLib_2_0_gir_FILES =  \
 
 BUILT_GIRSOURCES += GLib-2.0.gir
 
-GLib-2.0.gir: g-ir-scanner
+GLib-2.0.gir: g-ir-scanner g-ir-compiler
 
 DBusGLib-1.0.typelib: GObject-2.0.gir
 



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