X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=extras%2Finotifytools%2Finotifytools.sh;fp=extras%2Finotifytools%2Finotifytools.sh;h=63ef9f3ce50d219ac192a261da8e67030dc53c3f;hb=2c33fca14016d3f5acfa3e147f7b2cf430522790;hp=0000000000000000000000000000000000000000;hpb=45993187261f648cdb71542b4339c680f59794e3;p=gnome.gobject-introspection diff --git a/extras/inotifytools/inotifytools.sh b/extras/inotifytools/inotifytools.sh new file mode 100644 index 0000000..63ef9f3 --- /dev/null +++ b/extras/inotifytools/inotifytools.sh @@ -0,0 +1,31 @@ +#!/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