--- /dev/null
+#!/bin/sh
+# This program is free software; you can redistribute it and/or modify
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with main.c;if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
+
+# generate inotify tools gir.
+# probably should be in make file...
+
+# apt-get install inotify-tools libinotifytools0 libinotifytools0-dev
+d=`dirname $0`
+
+
+g-ir-scanner \
+ -I/usr/include \
+ $d/inotifytools.h \
+ /usr/include/inotifytools/*.h \
+ --strip-prefix=inotifytools \
+ --namespace=inotifytools \
+ --library=inotifytools \
+ --nsversion=3.0 --output=/usr/share/gir-1.0/inotifytools-3.0.gir
\ No newline at end of file