X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/edb6ace98249d5fadedbe2b7228151de9cdf4cef..865570570435c638831294d39fbef4c2fd665727:/Buildscr diff --git a/Buildscr b/Buildscr index 568196a8..02d4a9c6 100644 --- a/Buildscr +++ b/Buildscr @@ -9,13 +9,13 @@ ifneq "$(!numeric $(revision))" "yes" set Makever $(Makever) -DMODIFIED ifneq "$(RELEASE)" "" set Makever $(Makever) -DRELEASE=$(RELEASE) ifneq "$(date)" "" set Makever $(Makever) -DSNAPSHOT=$(date) set Makeargs VER="$(Makever)" -ifneq "$(XFLAGS)" "" set Makeargs $(makeargs) XFLAGS="$(XFLAGS)" -ifneq "$(MAKEARGS)" "" set Makeargs $(makeargs) $(MAKEARGS) +ifneq "$(XFLAGS)" "" set Makeargs $(Makeargs) XFLAGS="$(XFLAGS)" +ifneq "$(MAKEARGS)" "" set Makeargs $(Makeargs) $(MAKEARGS) # Set up the version string for the docs build. set Docmakeargs VERSION="PuTTY revision $(revision)" ifneq "$(RELEASE)" "" set Docmakeargs VERSION="PuTTY release $(RELEASE)" -ifneq "$(date)" "" set Docmakeaargs VERSION="PuTTY development snapshot $(date)" +ifneq "$(date)" "" set Docmakeargs VERSION="PuTTY development snapshot $(date)" # Set up the version string for the Unix source archive. set Unxver r$(revision) @@ -56,6 +56,9 @@ in putty/windows do perl -i~ -pe 'BEGIN{$$a=shift@ARGV;}s/^(VersionInfoTextVersi in putty/windows do perl -i~ -pe 'BEGIN{$$a=shift@ARGV;}s/^(AppVersion=).*$$/$$1$$a/' '$(Iversion)' putty.iss in putty/windows do perl -i~ -pe 'BEGIN{$$a=shift@ARGV;$$a=~s/M//;}s/^(VersionInfoVersion=\d+\.\d+\.)\d+(\.\d+)\r?$$/$$1$$a$$2/' '$(Irev)' putty.iss +# Windowsify LICENCE, since it's going in the Windows installer. +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)