1*d9e83e98SNicolas Bonnefon#!/bin/bash 2*d9e83e98SNicolas Bonnefon 3*d9e83e98SNicolas BonnefonPATH=/cygdrive/c/qt/2009.03/qt/bin:/cygdrive/c/qt/2009.03/mingw/bin/:$PATH 4*d9e83e98SNicolas Bonnefonqmake logcrawler.pro -spec win32-g++ -r CONFIG+=release 5*d9e83e98SNicolas Bonnefonmingw32-make 6*d9e83e98SNicolas Bonnefoncp /cygdrive/c/qt/2009.03/qt/bin/{QtCore4,QtGui4}.dll release/ 7*d9e83e98SNicolas Bonnefoncp /cygdrive/c/qt/2009.03/mingw/bin/{libexpat-1,mingwm10}.dll release/ 8*d9e83e98SNicolas BonnefonVERSION=`git describe` 9*d9e83e98SNicolas Bonnefonecho Generating binary distribution for logcrawler-$VERSION 10*d9e83e98SNicolas Bonnefonrm logcrawler-$VERSION-win32.zip 11*d9e83e98SNicolas Bonnefoncd release 12*d9e83e98SNicolas Bonnefonzip -9 ../logcrawler-$VERSION-win32.zip *.dll *.exe 13*d9e83e98SNicolas Bonnefonecho Generating installer for logcrawler-$VERSION 14*d9e83e98SNicolas Bonnefon/cygdrive/c/Program\ Files/NSIS/makensis -DVERSION=$VERSION logcrawler.nsi 15