]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Make sure the docs in a Unix release tarball are generated with the correct
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 18 Dec 2004 11:34:41 +0000 (11:34 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 18 Dec 2004 11:34:41 +0000 (11:34 +0000)
version info.

[originally from svn r5011]

mkunxarc.sh

index 3fcbe107928b6fbee616a36a4b18dd7939baf678..8630fffcfeaa48208151f90adeed45633f24321a 100755 (executable)
@@ -11,20 +11,23 @@ case "$1" in
     case "$1" in *[!-0-9]*) echo "Malformed snapshot ID '$1'" >&2;exit 1;;esac
     arcsuffix="-`cat LATEST.VER`-$1"
     ver="-DSNAPSHOT=$1"
+    docver=
     ;;
   '')
     arcsuffix=
     ver=
+    docver=
     ;;
   *)
     case "$1" in *[!.0-9a-z]*) echo "Malformed release ID '$1'">&2;exit 1;;esac
     arcsuffix="-$1"
     ver="-DRELEASE=$1"
+    docver="VERSION=\"PuTTY release $1\""
     ;;
 esac
 
 perl mkfiles.pl
-(cd doc && make -s)
+(cd doc && make -s ${docver:+"$docver"})
 
 relver=`cat LATEST.VER`
 arcname="putty$arcsuffix"