Skip to content
Snippets Groups Projects
Commit cbfd7bb7 authored by Jacob Nevins's avatar Jacob Nevins
Browse files

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

version info.

[originally from svn r5011]
parent eceacef0
No related branches found
No related tags found
No related merge requests found
...@@ -11,20 +11,23 @@ case "$1" in ...@@ -11,20 +11,23 @@ case "$1" in
case "$1" in *[!-0-9]*) echo "Malformed snapshot ID '$1'" >&2;exit 1;;esac case "$1" in *[!-0-9]*) echo "Malformed snapshot ID '$1'" >&2;exit 1;;esac
arcsuffix="-`cat LATEST.VER`-$1" arcsuffix="-`cat LATEST.VER`-$1"
ver="-DSNAPSHOT=$1" ver="-DSNAPSHOT=$1"
docver=
;; ;;
'') '')
arcsuffix= arcsuffix=
ver= ver=
docver=
;; ;;
*) *)
case "$1" in *[!.0-9a-z]*) echo "Malformed release ID '$1'">&2;exit 1;;esac case "$1" in *[!.0-9a-z]*) echo "Malformed release ID '$1'">&2;exit 1;;esac
arcsuffix="-$1" arcsuffix="-$1"
ver="-DRELEASE=$1" ver="-DRELEASE=$1"
docver="VERSION=\"PuTTY release $1\""
;; ;;
esac esac
perl mkfiles.pl perl mkfiles.pl
(cd doc && make -s) (cd doc && make -s ${docver:+"$docver"})
relver=`cat LATEST.VER` relver=`cat LATEST.VER`
arcname="putty$arcsuffix" arcname="putty$arcsuffix"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment