xref: /glogg/release-win32.sh (revision afcc2cb7f4c53ca0b75798e15ea4c72f949f1fcc)
1d9e83e98SNicolas Bonnefon#!/bin/bash
2d9e83e98SNicolas Bonnefon
3*afcc2cb7SNicolas BonnefonPATH=/cygdrive/c/qt/2010.02.1/qt/bin:/cygdrive/c/qt/2010.02.1/mingw/bin/:$PATH
49a361c77SNicolas Bonnefonqmake glogg.pro -spec win32-g++ -r CONFIG+=release
5d9e83e98SNicolas Bonnefonmingw32-make
6*afcc2cb7SNicolas Bonnefoncp /cygdrive/c/qt/2010.02.1/qt/bin/{QtCore4,QtGui4}.dll release/
7*afcc2cb7SNicolas Bonnefoncp /cygdrive/c/qt/2010.02.1/mingw/bin/{libexpat-1,mingwm10}.dll release/
8d9e83e98SNicolas BonnefonVERSION=`git describe`
99a361c77SNicolas Bonnefonecho Generating installer for glogg-$VERSION
109a361c77SNicolas Bonnefon/cygdrive/c/Program\ Files/NSIS/makensis -DVERSION=$VERSION glogg.nsi
11