|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
|
... |
|
... |
2 |
# @(#$Id: makesrcdist.sh,v 1.16 2008-11-21 16:43:42 dockes Exp $ (C) 2005 J.F.Dockes
|
2 |
# @(#$Id: makesrcdist.sh,v 1.16 2008-11-21 16:43:42 dockes Exp $ (C) 2005 J.F.Dockes
|
3 |
# A shell-script to make a recoll source distribution
|
3 |
# A shell-script to make a recoll source distribution
|
4 |
|
4 |
|
5 |
fatal() {
|
5 |
fatal() {
|
6 |
echo $*
|
6 |
echo $*
|
|
|
7 |
exit 1
|
|
|
8 |
}
|
|
|
9 |
usage() {
|
|
|
10 |
echo 'Usage: [dotag=no] makescrdist.sh do_it'
|
7 |
exit 1
|
11 |
exit 1
|
8 |
}
|
12 |
}
|
9 |
tagtopsvn() {
|
13 |
tagtopsvn() {
|
10 |
(cd ..; svn copy -m "Release $version tagged" . $SVNREPOS/tags/$1) \
|
14 |
(cd ..; svn copy -m "Release $version tagged" . $SVNREPOS/tags/$1) \
|
11 |
|| fatal tag failed
|
15 |
|| fatal tag failed
|
|
... |
|
... |
19 |
tagtop() {
|
23 |
tagtop() {
|
20 |
tagtophg $*
|
24 |
tagtophg $*
|
21 |
}
|
25 |
}
|
22 |
|
26 |
|
23 |
#set -x
|
27 |
#set -x
|
|
|
28 |
test $# -eq 1 || usage
|
24 |
|
29 |
|
25 |
TAR=/usr/bin/tar
|
30 |
TAR=/usr/bin/tar
|
26 |
|
31 |
|
27 |
#VCCMD=svn
|
32 |
#VCCMD=svn
|
28 |
#SVNREPOS=svn+ssh://y/home/subversion/recoll/
|
33 |
#SVNREPOS=svn+ssh://y/home/subversion/recoll/
|