]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Use bob's new 'with' system in the build script.
authorSimon Tatham <anakin@pobox.com>
Sat, 5 Mar 2016 22:23:34 +0000 (22:23 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 5 Mar 2016 22:23:34 +0000 (22:23 +0000)
Now the dust from 0.67 has settled, I can do this without getting my
git branches hopelessly confused :-)

Buildscr

index b6fa991f7d1131f45a308167a010847a1bbed0f1..2a58507cba6d1ac64e8beea01a675a63a9f049f8 100644 (file)
--- a/Buildscr
+++ b/Buildscr
@@ -150,7 +150,7 @@ in putty do perl -i~ -pe 'y/\015//d;s/$$/\015/' LICENCE
 
 delegate windows
   # FIXME: Cygwin alternative?
-  in putty/windows do/win vcvars32 && nmake -f Makefile.vc $(Makeargs) all cleantestprogs
+  in putty/windows with visualstudio do/win nmake -f Makefile.vc $(Makeargs) all cleantestprogs
   # Code-sign the binaries, if the local bob config provides a script
   # to do so. We assume here that the script accepts an -i option to
   # provide a 'more info' URL, and an optional -n option to provide a
@@ -160,8 +160,8 @@ delegate windows
   # 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/win hhc putty.hhp & type putty.chm >nul
-  in putty/windows do/win iscc putty.iss
+  in putty/doc with htmlhelp do/win hhc putty.hhp & type putty.chm >nul
+  in putty/windows with innosetup do/win iscc putty.iss
   ifneq "$(winsigncode)" "" in putty/windows do $(winsigncode) -i http://www.chiark.greenend.org.uk/~sgtatham/putty/ -n "PuTTY Installer" Output/setup.exe
   return putty/windows/*.exe
   return putty/windows/*.map