Force recreation of the Windows .nsi file when cross building

This way we make sure that the version number for the installer is correct.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-02-16 15:53:53 -08:00
parent 155228004e
commit bb44e108a3

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# #
# just a small shell script that is used to invoke make with the right # just a small shell script that is used to invoke make with the right
# parameters to cross compile a binary for Windows # parameters to cross compile a binary for Windows
@ -6,6 +6,10 @@
# the paths work for the default mingw32 install on OpenSUSE - adjust as # the paths work for the default mingw32 install on OpenSUSE - adjust as
# necessary # necessary
# force recreation of the nsi file in order to get the correct version
# number
rm packaging/windows/subsurface.nsi
export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
make CC=i686-w64-mingw32-gcc \ make CC=i686-w64-mingw32-gcc \
PKGCONFIG=i686-w64-mingw32-pkg-config \ PKGCONFIG=i686-w64-mingw32-pkg-config \