diff options
author | 2015-06-01 22:18:27 +0200 | |
---|---|---|
committer | 2015-06-01 22:18:37 +0200 | |
commit | 467920d19aee31e523b147bb1fb4c491850db516 (patch) | |
tree | 50dbeb2af4a40b56c004361f516b853bf16f959a /dev/make-installer-win64.sh | |
parent | 3b917b7b9a201b511a56f55102077199868212e7 (diff) |
script to build 64 coq installer for windows
Diffstat (limited to 'dev/make-installer-win64.sh')
-rwxr-xr-x | dev/make-installer-win64.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev/make-installer-win64.sh b/dev/make-installer-win64.sh new file mode 100755 index 000000000..73e1fdbeb --- /dev/null +++ b/dev/make-installer-win64.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +NSIS="$BASE/NSIS/makensis" +ZIP=_make.zip +URL1=http://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81-bin.zip/download +URL2=http://sourceforge.net/projects/gnuwin32/files/make/3.81/make-3.81-dep.zip/download + +[ -e config/Makefile ] || ./configure -prefix ./ -with-doc no +make -j2 coqide +mkdir -p bin32 +cp bin/* bin32/ +make clean +make archclean +( . ${BASE}_64/environ; ./configure -prefix ./ -with-doc no; make -j2; make ide/coqidetop.cmxs ) +cp bin32/coqide* bin/ +if [ ! -e bin/make.exe ]; then + wget -O $ZIP $URL1 && 7z x $ZIP "bin/*" + wget -O $ZIP $URL2 && 7z x $ZIP "bin/*" + rm -rf $ZIP +fi +VERSION=`grep ^VERSION= config/Makefile | cut -d = -f 2` +cd dev/nsis +"$NSIS" -DVERSION=$VERSION -DGTK_RUNTIME="`cygpath -w $BASE`" coq.nsi +echo Installer: +ls -h $PWD/*exe +cd ../.. |