X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mkunxarc.sh;h=7c69c2f6fbdd925039fe9c98360087b65039ef52;hb=3a3abd211be17cf46074554133257af4d8e7e4be;hp=57ada30448ff68a7f4fb3b865ac21f87ffcfff72;hpb=265950a800b7ab777c91d37606a0f7c970eb7f05;p=PuTTY.git diff --git a/mkunxarc.sh b/mkunxarc.sh index 57ada304..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= @@ -28,7 +34,7 @@ esac perl mkfiles.pl (cd doc && make -s ${docver:+"$docver"}) -sh mkauto.sh +sh mkauto.sh 2>/dev/null relver=`cat LATEST.VER` arcname="putty$arcsuffix"