Merge branch 'master' into rtoy-generate-command-line-texi-table
[maxima.git] / archive / bin / distribute-new
blob696c9a13a96993fa60584fb25097b0a81bfd52e0
1 #!/bin/sh
2 NAME="maxima-`cat majvers`-`cat minvers`.tar.Z"
3 FTPDIR="/usr2/ftp/pub/"
4 if [ $# -eq 1 ] ; then FILE=$1 ;else FILE="${FTPDIR}/${NAME}" ;fi
5 tar cvf - `bin/maxima-files` | compress -c > ${FILE}
6 if [ $# -eq 1 ] ; then true
7 else
8 cp /usr2/maxima/src/ChangeLog /usr2/ftp/pub/maxima-ChangeLog
9 cd /usr2/ftp/pub
10 rm -rf ${FILE}-split
11 /usr/local/bin/split ${NAME}
12 (cd ${FILE}-split ; sum *split* > CHECKSUMS.BSD )