1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-09 15:18:06 -05:00

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

(cherry picked from commit 470337d0f2591534221390f50a69f8c9f6fe0558)
This commit is contained in:
Simon Tatham 2015-11-17 18:41:52 +00:00
parent 4ff60ab7f5
commit 6b9bccf388

View File

@ -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