# $Id$
-VIFileVersion "${VERSION}"
-VIProductVersion "${VERSION}"
+VIFileVersion "1.0.0.0"
+VIProductVersion "1.0.0.0"
VIAddVersionKey "FileVersion" "${VERSION}"
VIAddVersionKey "LegalCopyright" "Public domain. Original by Nishi"
VIAddVersionKey "FileDescription" "Tewi HTTPd Installer"
exit 1
}
+VERSION=`make get-version`
+
make clean || fail
make PLATFORM=$1 -j4 || fail
cp Server/tewi.exe tewi.exe
make PLATFORM=$1-service -j4 || fail
cp Server/tewi.exe tewi-service.exe
cd Server
-makensis /DVERSION=\"`make get-version`\" install.nsi
+makensis -DVERSION=$VERSION install.nsi
rm -f tewi.exe tewi-service.exe
cd ..