[EXTRAS] Inotifytools testing
[gnome.gobject-introspection] / extras / inotifytools / inotifytools.sh
1 #!/bin/sh
2 # This program is free software; you can redistribute it and/or modify
3 #  This program is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU Lesser General Public
5 #  License as published by the Free Software Foundation; either
6 #  version 2.1 of the License, or (at your option) any later version.
7 #  
8 #  This program is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 #  Lesser General Public License for more details.
12 #  
13 #  You should have received a copy of the GNU Lesser General Public
14 #  License along with main.c;if not, write to the Free Software
15 #  Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
16
17 # generate inotify tools gir. 
18 # probably should be in make file...
19
20 # apt-get install inotify-tools libinotifytools0 libinotifytools0-dev
21 d=`dirname $0`
22
23
24 g-ir-scanner  \
25      -I/usr/include \
26      $d/inotifytools.h \
27       /usr/include/inotifytools/*.h \
28       --strip-prefix=inotifytools  \
29       --namespace=inotifytools \
30       --library=inotifytools \
31       --nsversion=3.0 --output=/usr/share/gir-1.0/inotifytools-3.0.gir