[gobject-introspection] Fix misc/extract-gobject-sources.sh.



commit 288133b2b8d22ad09686f775d9b796d58b71df7c
Author: Pavel Holejsovsky <pholejs src gnome org>
Date:   Sun Dec 19 10:46:22 2010 +0100

    Fix misc/extract-gobject-sources.sh.
    
    g-ir-annotation-tool is in builddir root now.  Also avoid feeding
    problematic and not-GI-useful headers to it.

 misc/extract-gobject-sources.sh |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/misc/extract-gobject-sources.sh b/misc/extract-gobject-sources.sh
index 9e7679e..0618365 100755
--- a/misc/extract-gobject-sources.sh
+++ b/misc/extract-gobject-sources.sh
@@ -1,9 +1,12 @@
 #!/bin/sh
 GLIBDIR=$1
-tools/g-ir-annotation-tool --extract \
+sources=`ls $GLIBDIR/gobject/*.c $GLIBDIR/gobject/*.h | \
+    grep -v 'gobject_trace.h' | \
+    grep -v 'stamp-'`
+./g-ir-annotation-tool --extract \
     -DGOBJECT_COMPILATION \
     -I$GLIBDIR \
     -I$GLIBDIR/glib \
     -I$GLIBDIR/gobject \
     -I$GLIBDIR/gmodule \
-    $GLIBDIR/gobject/*.c $GLIBDIR/gobject/*.h
+    $sources



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