diff options
author | Pavel Holejsovsky <pholejs@src.gnome.org> | 2010-12-19 10:46:22 +0100 |
---|---|---|
committer | Pavel Holejsovsky <pholejs@src.gnome.org> | 2010-12-19 10:46:22 +0100 |
commit | 288133b2b8d22ad09686f775d9b796d58b71df7c (patch) | |
tree | d3862ebf9ed20f84a4b511b35f251c057776b4b5 /misc | |
parent | 230c00a4841d7cae794101e14e360f4e0c0e272d (diff) | |
download | gobject-introspection-288133b2b8d22ad09686f775d9b796d58b71df7c.tar.gz |
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.
Diffstat (limited to 'misc')
-rwxr-xr-x | 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 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 |