X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mkunxarc.sh;h=3fcbe107928b6fbee616a36a4b18dd7939baf678;hb=812870d1b304d8f22633614f59c6690c05fcc029;hp=3485612b7a2dff5c7c3d65986416a50739ff53e9;hpb=2fcbb1c7b768529e71c85f101c6195bf6ed032b1;p=PuTTY.git diff --git a/mkunxarc.sh b/mkunxarc.sh index 3485612b..3fcbe107 100755 --- a/mkunxarc.sh +++ b/mkunxarc.sh @@ -24,17 +24,21 @@ case "$1" in esac perl mkfiles.pl -(cd doc && make) +(cd doc && make -s) 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 \ + -name .svn -prune -o \ -name '*.zip' -prune -o \ -name '*.tar.gz' -prune -o \ -type f -exec ln -s $PWD/{} uxarc/$arcname/{} \; @@ -43,5 +47,5 @@ if test "x$ver" != "x"; then md5sum `find . -name '*.[ch]' -print` > manifest; echo "$ver" > version.def) fi -tar -C uxarc -chzf - $arcname > $arcname.tar.gz +tar -C uxarc -chzof $arcname.tar.gz $arcname rm -rf uxarc