summaryrefslogtreecommitdiffstats
path: root/bindings/python/gendefs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/gendefs.sh')
-rwxr-xr-xbindings/python/gendefs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/python/gendefs.sh b/bindings/python/gendefs.sh
new file mode 100755
index 0000000..bc92257
--- /dev/null
+++ b/bindings/python/gendefs.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+codegendir=`pkg-config pygobject-2.0 --variable=codegendir`
+python $codegendir/h2def.py -m ibus ../../src/*.h