1#!/bin/bash 2 3PATH=/cygdrive/c/qt/2009.03/qt/bin:/cygdrive/c/qt/2009.03/mingw/bin/:$PATH 4qmake glogg.pro -spec win32-g++ -r CONFIG+=release 5mingw32-make 6cp /cygdrive/c/qt/2009.03/qt/bin/{QtCore4,QtGui4}.dll release/ 7cp /cygdrive/c/qt/2009.03/mingw/bin/{libexpat-1,mingwm10}.dll release/ 8VERSION=`git describe` 9echo Generating installer for glogg-$VERSION 10/cygdrive/c/Program\ Files/NSIS/makensis -DVERSION=$VERSION glogg.nsi 11