X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/5a9b85e7de43729feee0d8c85ca0db68e482c5c5..b186421379e975e593a2e71913109cd5f2f78b66:/Buildscr diff --git a/Buildscr b/Buildscr index 4775b85f..75a660ef 100644 --- a/Buildscr +++ b/Buildscr @@ -9,8 +9,8 @@ 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)" @@ -98,9 +98,14 @@ deliver putty/windows/*.map maps-x86/$@ # whatever key they want. deliver putty/sign.sh $@ -# Building the md5sums file is most easily done in the destination -# directory. -in-dest putty do md5sum `\find * -type f -print` > md5sums +# Create files of cryptographic checksums, which will be signed along +# with the files they verify. We've provided MD5 checksums for a +# while, but now MD5 is looking iffy, we're expanding our selection. +# +# Creating these files is most easily done in the destination +# directory, where all the files we're delivering are already in their +# final relative layout. +in-dest putty do a=`\find * -type f -print`; md5sum $$a > md5sums && sha1sum $$a > sha1sums && sha256sum $$a > sha256sums && sha512sum $$a > sha512sums # And construct .htaccess files. One in the top-level directory, # setting the MIME types for Windows help files and providing an