xref: /glogg/release-win32.sh (revision da722d7b3fd1a86dfff37913658c16195deb2823)
1d9e83e98SNicolas Bonnefon#!/bin/bash
2d9e83e98SNicolas Bonnefon
3afcc2cb7SNicolas 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
6afcc2cb7SNicolas Bonnefoncp /cygdrive/c/qt/2010.02.1/qt/bin/{QtCore4,QtGui4}.dll release/
7*da722d7bSNicolas Bonnefoncp /cygdrive/c/qt/2010.02.1/mingw/bin/{mingwm10,libgcc_s_dw2-1}.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