diff options
Diffstat (limited to 'farstream/python/rebuild-defs.sh')
-rwxr-xr-x | farstream/python/rebuild-defs.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/farstream/python/rebuild-defs.sh b/farstream/python/rebuild-defs.sh new file mode 100755 index 000000000..f74bdd356 --- /dev/null +++ b/farstream/python/rebuild-defs.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +HEADERS=" \ + telepathy-farstream.h \ + channel.h \ + content.h \ + stream.h" + +srcdir=../telepathy-farstream/ + +output=pytpfarstream.defs +filter=pytpfarstream-filter.defs + +cat ${filter} > ${output} + +for h in $HEADERS; do + python codegen/h2def.py --defsfilter=${filter} ${srcdir}/$h >> $output +done |