Convert Buildscr to use the new "do/win" mechanism.

This commit is contained in:
Simon Tatham 2015-11-17 18:41:52 +00:00
Родитель 3e811b3dff
Коммит 470337d0f2
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -150,12 +150,12 @@ in putty do perl -i~ -pe 'y/\015//d;s/$$/\015/' LICENCE
delegate windows
# FIXME: Cygwin alternative?
in putty/windows do cmd /c vcvars32 \& nmake -f Makefile.vc $(Makeargs)
in putty/windows do/win vcvars32 && nmake -f Makefile.vc $(Makeargs)
# Ignore exit code from hhc, in favour of seeing whether the .chm
# file was created. (Yuck; but hhc appears to return non-zero
# exit codes on whim.)
in putty/doc do hhc putty.hhp; test -f putty.chm
in putty/windows do iscc putty.iss
in putty/doc do/win hhc putty.hhp & type putty.chm >nul
in putty/windows do/win iscc putty.iss
return putty/windows/*.exe
return putty/windows/*.map
return putty/doc/putty.chm