Make sure the docs in a Unix release tarball are generated with the correct

version info.

[originally from svn r5011]
This commit is contained in:
Jacob Nevins 2004-12-18 11:34:41 +00:00
Родитель eceacef0f0
Коммит cbfd7bb7f5
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

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