aheinecke@340: #!/bin/bash aheinecke@340: aheinecke@340: #NSSDIR is hackish as this will be replaced by static compiling aheinecke@340: # anyway aheinecke@340: aheinecke@340: NSSDIR="/home/andre/ubuntu/src/mxe/usr/i686-w64-mingw32.static/nss-3.12.7/bin/" aheinecke@340: MYPATH=$(dirname `readlink -f $0`) aheinecke@340: aheinecke@340: TMPDIR=$(mktemp -d) aheinecke@340: aheinecke@340: EXEFILES=$(find . -name cinst.exe -o -name m13ui.exe -o -name mozilla.exe) aheinecke@340: aheinecke@340: cp $NSSDIR/*.dll $TMPDIR aheinecke@340: cp $EXEFILES $TMPDIR aheinecke@340: aheinecke@340: echo $TMPDIR aheinecke@340: makensis -Dfiles_dir=$TMPDIR \ aheinecke@340: -Dcompany="Intevation GmbH" \ aheinecke@340: -Dversion_number=0.0.0.1 \ aheinecke@340: -Dsetupname="renameme.exe" \ aheinecke@340: -Dproductname="Really please rename me" \ aheinecke@340: -Dproductname_short="renameme" $MYPATH/renameme.nsi aheinecke@340: rm -r $TMPDIR