From 288133b2b8d22ad09686f775d9b796d58b71df7c Mon Sep 17 00:00:00 2001 From: Pavel Holejsovsky Date: Sun, 19 Dec 2010 10:46:22 +0100 Subject: 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 file changed, 5 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/extract-gobject-sources.sh b/misc/extract-gobject-sources.sh index 9e7679e6..06183659 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 -- cgit v1.2.1