X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/cf152e6d1f0eff1ccf46f5c72110f3c30b9b52f3..6cac75026ad75dee6a2f860cc555a1c363504daa:/mkunxarc.sh diff --git a/mkunxarc.sh b/mkunxarc.sh index 7e8d367c..7c69c2f6 100755 --- a/mkunxarc.sh +++ b/mkunxarc.sh @@ -4,7 +4,8 @@ # # Pass an argument of the form `2004-02-08' to have the archive # tagged as a development snapshot; of the form `0.54' to have it -# tagged as a release. +# tagged as a release; of the form `r1234' to have it tagged as a +# custom build. Otherwise it'll be tagged as unidentified. case "$1" in ????-??-??) @@ -13,6 +14,11 @@ case "$1" in ver="-DSNAPSHOT=$1" docver= ;; + r*) + arcsuffix="-$1" + ver="-DSVN_REV=$1" + docver= + ;; '') arcsuffix= ver=