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