projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce a new checkbox and command-line option to inhibit use of
[u/mdw/putty]
/
mkunxarc.sh
diff --git
a/mkunxarc.sh
b/mkunxarc.sh
index
fa91dc2
..
7e8d367
100755
(executable)
--- a/
mkunxarc.sh
+++ b/
mkunxarc.sh
@@
-11,29
+11,38
@@
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"
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=
;;
'')
arcsuffix=
ver=
+ docver=
;;
*)
case "$1" in *[!.0-9a-z]*) echo "Malformed release ID '$1'">&2;exit 1;;esac
arcsuffix="-$1"
ver="-DRELEASE=$1"
;;
*)
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
;;
esac
perl mkfiles.pl
+(cd doc && make -s ${docver:+"$docver"})
+sh mkauto.sh 2>/dev/null
relver=`cat LATEST.VER`
arcname="putty$arcsuffix"
mkdir uxarc
mkdir uxarc/$arcname
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 \
-name .cvsignore -prune -o \
-type d -exec mkdir uxarc/$arcname/{} \;
find . -name uxarc -prune -o \
-name CVS -prune -o \
-name .cvsignore -prune -o \
+ -name .svn -prune -o \
-name '*.zip' -prune -o \
-name '*.tar.gz' -prune -o \
-type f -exec ln -s $PWD/{} uxarc/$arcname/{} \;
-name '*.zip' -prune -o \
-name '*.tar.gz' -prune -o \
-type f -exec ln -s $PWD/{} uxarc/$arcname/{} \;
@@
-42,5
+51,5
@@
if test "x$ver" != "x"; then
md5sum `find . -name '*.[ch]' -print` > manifest;
echo "$ver" > version.def)
fi
md5sum `find . -name '*.[ch]' -print` > manifest;
echo "$ver" > version.def)
fi
-tar -C uxarc -chz
f - $arcname > $arcname.tar.gz
+tar -C uxarc -chz
of $arcname.tar.gz $arcname
rm -rf uxarc
rm -rf uxarc