X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4494be0aa8c4b88c1c9c46318fcbf23e9f47f3d6..cf152e6d1f0eff1ccf46f5c72110f3c30b9b52f3:/mkunxarc.sh diff --git a/mkunxarc.sh b/mkunxarc.sh index bde24405..7e8d367c 100755 --- a/mkunxarc.sh +++ b/mkunxarc.sh @@ -11,26 +11,33 @@ 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"}) +sh mkauto.sh 2>/dev/null relver=`cat LATEST.VER` arcname="putty$arcsuffix" mkdir uxarc mkdir uxarc/$arcname -find . -name uxarc -prune -o -name . -o \ +find . -name uxarc -prune -o \ + -name CVS -prune -o \ + -name .svn -prune -o \ + -name . -o \ -type d -exec mkdir uxarc/$arcname/{} \; find . -name uxarc -prune -o \ -name CVS -prune -o \