diff options
author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-12-18 14:34:41 +0300 |
---|---|---|
committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-12-18 14:34:41 +0300 |
commit | cbfd7bb7f5ed94841f6fc4be3d91bf4a678845fa (patch) | |
tree | 0e5786687d705efa810b87b61666c3bf0d3cf207 /mkunxarc.sh | |
parent | eceacef0f084121c8b80a21c054ccdb31aeae39d (diff) |
Make sure the docs in a Unix release tarball are generated with the correct
version info.
[originally from svn r5011]
Diffstat (limited to 'mkunxarc.sh')
-rwxr-xr-x | mkunxarc.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mkunxarc.sh b/mkunxarc.sh index 3fcbe107..8630fffc 100755 --- a/mkunxarc.sh +++ b/mkunxarc.sh @@ -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" |