summaryrefslogtreecommitdiff
path: root/srcrelease.sh
blob: c2be2611267daee3a1ff46b3e9b3bd771f8cc6bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh
# Released under GFDL or the LGPL at your option

# if [ `uname` = "Darwin" ]; then
#    CVS_PATH="/opt/subversion/bin/svn"
# else
#    CVS_PATH="cvs"
# fi

CVS_PATH="cvs"

echo Enter version number:
read CSOUND_VERSION
echo Enter tag:
read CSOUND_TAG

$CVS_PATH -d:pserver:anonymous@csound.cvs.sourceforge.net:/cvsroot/csound login
$CVS_PATH -z3 -d:pserver:anonymous@csound.cvs.sourceforge.net:/cvsroot/csound export -r $CSOUND_TAG manual
rm -R manual/attic/
tar -czf Csound$CSOUND_VERSION-manual-src.tar.gz manual
rm -R manual/